home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 June: Reference Library / Dev.CD Jun 94.toast / Technical Documentation / Inside Macintosh / IM—PowerPC System Software < prev    next >
MacBinary  |  1994-04-27  |  3.6 MB  |  [ONLN/HLX2]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Mon Jan 31 08:50:24 1994, modified Wed Apr 27 06:10:57 1994, creator 'HLX2', type 'ONLN', 3709549 bytes "IM�PowerPC System Software" , at 0x389aed 63677 bytes resource default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
50% lsar MacBinary default


id metadata
keyvalue
macFileType[ONLN]
macFileCreator[HLX2]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 1a 49 4d d1 50 6f 77 | 65 72 50 43 20 53 79 73 |..IM.Pow|erPC Sys|
|00000010| 74 65 6d 20 53 6f 66 74 | 77 61 72 65 00 00 00 00 |tem Soft|ware....|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 01 00 00 00 00 00 00 |.ONLNHLX|2.......|
|00000050| 00 00 00 00 38 9a 6d 00 | 00 f8 bd a9 72 bd 20 a9 |....8.m.|....r. .|
|00000060| e3 ea b1 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 3d e1 00 00 |........|....=...|
|00000080| 49 4e 53 49 44 45 20 4d | 41 43 49 4e 54 4f 53 48 |INSIDE M|ACINTOSH|
|00000090| 0d 0d 50 6f 77 65 72 50 | 43 20 53 79 73 74 65 6d |..PowerP|C System|
|000000a0| 20 53 6f 66 74 77 61 72 | 65 0d f0 09 41 70 70 6c | Softwar|e...Appl|
|000000b0| 65 20 43 6f 6d 70 75 74 | 65 72 2c 20 49 6e 63 2e |e Comput|er, Inc.|
|000000c0| 0d a9 20 31 39 39 34 20 | 41 70 70 6c 65 20 43 6f |.. 1994 |Apple Co|
|000000d0| 6d 70 75 74 65 72 2c 20 | 49 6e 63 2e 0d 41 6c 6c |mputer, |Inc..All|
|000000e0| 20 72 69 67 68 74 73 20 | 72 65 73 65 72 76 65 64 | rights |reserved|
|000000f0| 2e 20 0d 4e 6f 20 70 61 | 72 74 20 6f 66 20 74 68 |. .No pa|rt of th|
|00000100| 69 73 20 70 75 62 6c 69 | 63 61 74 69 6f 6e 20 6d |is publi|cation m|
|00000110| 61 79 20 62 65 20 72 65 | 70 72 6f 64 75 63 65 64 |ay be re|produced|
|00000120| 2c 20 73 74 6f 72 65 64 | 20 69 6e 20 61 20 72 65 |, stored| in a re|
|00000130| 74 72 69 65 76 61 6c 20 | 73 79 73 74 65 6d 2c 20 |trieval |system, |
|00000140| 6f 72 20 74 72 61 6e 73 | 6d 69 74 74 65 64 2c 20 |or trans|mitted, |
|00000150| 69 6e 20 61 6e 79 20 66 | 6f 72 6d 20 6f 72 20 62 |in any f|orm or b|
|00000160| 79 20 61 6e 79 20 6d 65 | 61 6e 73 2c 20 6d 65 63 |y any me|ans, mec|
|00000170| 68 61 6e 69 63 61 6c 2c | 20 65 6c 65 63 74 72 6f |hanical,| electro|
|00000180| 6e 69 63 2c 20 70 68 6f | 74 6f 63 6f 70 79 69 6e |nic, pho|tocopyin|
|00000190| 67 2c 20 72 65 63 6f 72 | 64 69 6e 67 2c 20 6f 72 |g, recor|ding, or|
|000001a0| 20 6f 74 68 65 72 77 69 | 73 65 2c 20 77 69 74 68 | otherwi|se, with|
|000001b0| 6f 75 74 20 70 72 69 6f | 72 20 77 72 69 74 74 65 |out prio|r writte|
|000001c0| 6e 20 70 65 72 6d 69 73 | 73 69 6f 6e 20 6f 66 20 |n permis|sion of |
|000001d0| 41 70 70 6c 65 20 43 6f | 6d 70 75 74 65 72 2c 20 |Apple Co|mputer, |
|000001e0| 49 6e 63 2e 20 50 72 69 | 6e 74 65 64 20 69 6e 20 |Inc. Pri|nted in |
|000001f0| 74 68 65 20 55 6e 69 74 | 65 64 20 53 74 61 74 65 |the Unit|ed State|
|00000200| 73 20 6f 66 20 41 6d 65 | 72 69 63 61 2e 0d 4e 6f |s of Ame|rica..No|
|00000210| 20 6c 69 63 65 6e 73 65 | 73 2c 20 65 78 70 72 65 | license|s, expre|
|00000220| 73 73 20 6f 72 20 69 6d | 70 6c 69 65 64 2c 20 61 |ss or im|plied, a|
|00000230| 72 65 20 67 72 61 6e 74 | 65 64 20 77 69 74 68 20 |re grant|ed with |
|00000240| 72 65 73 70 65 63 74 20 | 74 6f 20 61 6e 79 20 6f |respect |to any o|
|00000250| 66 20 74 68 65 20 74 65 | 63 68 6e 6f 6c 6f 67 79 |f the te|chnology|
|00000260| 20 64 65 73 63 72 69 62 | 65 64 20 69 6e 20 74 68 | describ|ed in th|
|00000270| 69 73 20 62 6f 6f 6b 2e | 20 41 70 70 6c 65 20 72 |is book.| Apple r|
|00000280| 65 74 61 69 6e 73 20 61 | 6c 6c 20 69 6e 74 65 6c |etains a|ll intel|
|00000290| 6c 65 63 74 75 61 6c 20 | 70 72 6f 70 65 72 74 79 |lectual |property|
|000002a0| 20 72 69 67 68 74 73 20 | 61 73 73 6f 63 69 61 74 | rights |associat|
|000002b0| 65 64 20 77 69 74 68 20 | 74 68 65 20 74 65 63 68 |ed with |the tech|
|000002c0| 6e 6f 6c 6f 67 79 20 64 | 65 73 63 72 69 62 65 64 |nology d|escribed|
|000002d0| 20 69 6e 20 74 68 69 73 | 20 62 6f 6f 6b 2e 20 54 | in this| book. T|
|000002e0| 68 69 73 20 62 6f 6f 6b | 20 69 73 20 69 6e 74 65 |his book| is inte|
|000002f0| 6e 64 65 64 20 74 6f 20 | 61 73 73 69 73 74 20 61 |nded to |assist a|
|00000300| 70 70 6c 69 63 61 74 69 | 6f 6e 20 64 65 76 65 6c |pplicati|on devel|
|00000310| 6f 70 65 72 73 20 74 6f | 20 64 65 76 65 6c 6f 70 |opers to| develop|
|00000320| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 73 20 6f 6e | applica|tions on|
|00000330| 6c 79 20 66 6f 72 20 41 | 70 70 6c 65 20 4d 61 63 |ly for A|pple Mac|
|00000340| 69 6e 74 6f 73 68 20 63 | 6f 6d 70 75 74 65 72 73 |intosh c|omputers|
|00000350| 2e 0d 45 76 65 72 79 20 | 65 66 66 6f 72 74 20 68 |..Every |effort h|
|00000360| 61 73 20 62 65 65 6e 20 | 6d 61 64 65 20 74 6f 20 |as been |made to |
|00000370| 65 6e 73 75 72 65 20 74 | 68 61 74 20 74 68 65 20 |ensure t|hat the |
|00000380| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 69 6e 20 74 |informat|ion in t|
|00000390| 68 69 73 20 6d 61 6e 75 | 61 6c 20 69 73 20 61 63 |his manu|al is ac|
|000003a0| 63 75 72 61 74 65 2e 20 | 41 70 70 6c 65 20 69 73 |curate. |Apple is|
|000003b0| 20 6e 6f 74 20 72 65 73 | 70 6f 6e 73 69 62 6c 65 | not res|ponsible|
|000003c0| 20 66 6f 72 20 70 72 69 | 6e 74 69 6e 67 20 6f 72 | for pri|nting or|
|000003d0| 20 63 6c 65 72 69 63 61 | 6c 20 65 72 72 6f 72 73 | clerica|l errors|
|000003e0| 2e 0d 41 70 70 6c 65 20 | 43 6f 6d 70 75 74 65 72 |..Apple |Computer|
|000003f0| 2c 20 49 6e 63 2e 0d 32 | 30 35 32 35 20 4d 61 72 |, Inc..2|0525 Mar|
|00000400| 69 61 6e 69 20 41 76 65 | 6e 75 65 0d 43 75 70 65 |iani Ave|nue.Cupe|
|00000410| 72 74 69 6e 6f 2c 20 43 | 41 20 39 35 30 31 34 0d |rtino, C|A 95014.|
|00000420| 34 30 38 2d 39 39 36 2d | 31 30 31 30 0d 41 70 70 |408-996-|1010.App|
|00000430| 6c 65 2c 20 74 68 65 20 | 41 70 70 6c 65 20 6c 6f |le, the |Apple lo|
|00000440| 67 6f 2c 20 41 50 44 41 | 2c 20 41 70 70 6c 65 4c |go, APDA|, AppleL|
|00000450| 69 6e 6b 2c 20 41 70 70 | 6c 65 53 68 61 72 65 2c |ink, App|leShare,|
|00000460| 20 41 2f 55 58 2c 20 48 | 79 70 65 72 43 61 72 64 | A/UX, H|yperCard|
|00000470| 2c 20 4c 61 73 65 72 57 | 72 69 74 65 72 2c 20 4d |, LaserW|riter, M|
|00000480| 61 63 69 6e 74 6f 73 68 | 2c 20 4d 61 63 69 6e 74 |acintosh|, Macint|
|00000490| 6f 73 68 20 51 75 61 64 | 72 61 2c 20 4d 50 57 2c |osh Quad|ra, MPW,|
|000004a0| 20 50 6f 77 65 72 42 6f | 6f 6b 2c 20 61 6e 64 20 | PowerBo|ok, and |
|000004b0| 53 41 4e 45 20 61 72 65 | 20 74 72 61 64 65 6d 61 |SANE are| tradema|
|000004c0| 72 6b 73 20 6f 66 20 41 | 70 70 6c 65 20 43 6f 6d |rks of A|pple Com|
|000004d0| 70 75 74 65 72 2c 20 49 | 6e 63 2e 2c 20 72 65 67 |puter, I|nc., reg|
|000004e0| 69 73 74 65 72 65 64 20 | 69 6e 20 74 68 65 20 55 |istered |in the U|
|000004f0| 6e 69 74 65 64 20 53 74 | 61 74 65 73 20 61 6e 64 |nited St|ates and|
|00000500| 20 6f 74 68 65 72 20 63 | 6f 75 6e 74 72 69 65 73 | other c|ountries|
|00000510| 2e 0d 46 69 6e 64 65 72 | 2c 20 4d 61 63 69 6e 74 |..Finder|, Macint|
|00000520| 6f 73 68 20 43 65 6e 74 | 72 69 73 2c 20 51 75 69 |osh Cent|ris, Qui|
|00000530| 63 6b 44 72 61 77 2c 20 | 61 6e 64 20 51 75 69 63 |ckDraw, |and Quic|
|00000540| 6b 54 69 6d 65 20 61 72 | 65 20 74 72 61 64 65 6d |kTime ar|e tradem|
|00000550| 61 72 6b 73 20 6f 66 20 | 41 70 70 6c 65 20 43 6f |arks of |Apple Co|
|00000560| 6d 70 75 74 65 72 2c 20 | 49 6e 63 2e 0d 41 64 6f |mputer, |Inc..Ado|
|00000570| 62 65 20 49 6c 6c 75 73 | 74 72 61 74 6f 72 20 61 |be Illus|trator a|
|00000580| 6e 64 20 50 6f 73 74 53 | 63 72 69 70 74 20 61 72 |nd PostS|cript ar|
|00000590| 65 20 74 72 61 64 65 6d | 61 72 6b 73 20 6f 66 20 |e tradem|arks of |
|000005a0| 41 64 6f 62 65 20 53 79 | 73 74 65 6d 73 20 49 6e |Adobe Sy|stems In|
|000005b0| 63 6f 72 70 6f 72 61 74 | 65 64 2c 20 77 68 69 63 |corporat|ed, whic|
|000005c0| 68 20 6d 61 79 20 62 65 | 20 72 65 67 69 73 74 65 |h may be| registe|
|000005d0| 72 65 64 20 69 6e 20 63 | 65 72 74 61 69 6e 20 6a |red in c|ertain j|
|000005e0| 75 72 69 73 64 69 63 74 | 69 6f 6e 73 2e 0d 41 6d |urisdict|ions..Am|
|000005f0| 65 72 69 63 61 20 4f 6e | 6c 69 6e 65 20 69 73 20 |erica On|line is |
|00000600| 61 20 73 65 72 76 69 63 | 65 20 6d 61 72 6b 20 6f |a servic|e mark o|
|00000610| 66 20 51 75 61 6e 74 75 | 6d 20 43 6f 6d 70 75 74 |f Quantu|m Comput|
|00000620| 65 72 20 53 65 72 76 69 | 63 65 73 2c 20 49 6e 63 |er Servi|ces, Inc|
|00000630| 2e 0d 43 6c 61 73 73 69 | 63 20 69 73 20 61 20 72 |..Classi|c is a r|
|00000640| 65 67 69 73 74 65 72 65 | 64 20 74 72 61 64 65 6d |egistere|d tradem|
|00000650| 61 72 6b 20 6c 69 63 65 | 6e 73 65 64 20 74 6f 20 |ark lice|nsed to |
|00000660| 41 70 70 6c 65 20 43 6f | 6d 70 75 74 65 72 2c 20 |Apple Co|mputer, |
|00000670| 49 6e 63 2e 0d 43 6f 6d | 70 75 53 65 72 76 65 20 |Inc..Com|puServe |
|00000680| 69 73 20 61 20 72 65 67 | 69 73 74 65 72 65 64 20 |is a reg|istered |
|00000690| 73 65 72 76 69 63 65 20 | 6d 61 72 6b 20 6f 66 20 |service |mark of |
|000006a0| 43 6f 6d 70 75 53 65 72 | 76 65 2c 20 49 6e 63 2e |CompuSer|ve, Inc.|
|000006b0| 0d 46 72 61 6d 65 4d 61 | 6b 65 72 20 69 73 20 61 |.FrameMa|ker is a|
|000006c0| 20 72 65 67 69 73 74 65 | 72 65 64 20 74 72 61 64 | registe|red trad|
|000006d0| 65 6d 61 72 6b 20 6f 66 | 20 46 72 61 6d 65 20 54 |emark of| Frame T|
|000006e0| 65 63 68 6e 6f 6c 6f 67 | 79 20 43 6f 72 70 6f 72 |echnolog|y Corpor|
|000006f0| 61 74 69 6f 6e 2e 0d 48 | 65 6c 76 65 74 69 63 61 |ation..H|elvetica|
|00000700| 20 61 6e 64 20 50 61 6c | 61 74 69 6e 6f 20 61 72 | and Pal|atino ar|
|00000710| 65 20 72 65 67 69 73 74 | 65 72 65 64 20 74 72 61 |e regist|ered tra|
|00000720| 64 65 6d 61 72 6b 73 20 | 6f 66 20 4c 69 6e 6f 74 |demarks |of Linot|
|00000730| 79 70 65 20 43 6f 6d 70 | 61 6e 79 2e 0d 49 6e 74 |ype Comp|any..Int|
|00000740| 65 72 6e 65 74 20 69 73 | 20 61 20 74 72 61 64 65 |ernet is| a trade|
|00000750| 6d 61 72 6b 20 6f 66 20 | 44 69 67 69 74 61 6c 20 |mark of |Digital |
|00000760| 45 71 75 69 70 6d 65 6e | 74 20 43 6f 72 70 6f 72 |Equipmen|t Corpor|
|00000770| 61 74 69 6f 6e 2e 0d 49 | 54 43 20 5a 61 70 66 20 |ation..I|TC Zapf |
|00000780| 44 69 6e 67 62 61 74 73 | 20 69 73 20 61 20 72 65 |Dingbats| is a re|
|00000790| 67 69 73 74 65 72 65 64 | 20 74 72 61 64 65 6d 61 |gistered| tradema|
|000007a0| 72 6b 20 6f 66 20 49 6e | 74 65 72 6e 61 74 69 6f |rk of In|ternatio|
|000007b0| 6e 61 6c 20 54 79 70 65 | 66 61 63 65 20 43 6f 72 |nal Type|face Cor|
|000007c0| 70 6f 72 61 74 69 6f 6e | 2e 0d 4d 6f 74 6f 72 6f |poration|..Motoro|
|000007d0| 6c 61 20 69 73 20 61 20 | 72 65 67 69 73 74 65 72 |la is a |register|
|000007e0| 65 64 20 74 72 61 64 65 | 6d 61 72 6b 20 6f 66 20 |ed trade|mark of |
|000007f0| 4d 6f 74 6f 72 6f 6c 61 | 20 43 6f 72 70 6f 72 61 |Motorola| Corpora|
|00000800| 74 69 6f 6e 2e 0d 4f 70 | 74 72 6f 74 65 63 68 20 |tion..Op|trotech |
|00000810| 69 73 20 61 20 74 72 61 | 64 65 6d 61 72 6b 20 6f |is a tra|demark o|
|00000820| 66 20 4f 72 62 6f 74 65 | 63 68 20 43 6f 72 70 6f |f Orbote|ch Corpo|
|00000830| 72 61 74 69 6f 6e 2e 0d | 50 6f 77 65 72 50 43 20 |ration..|PowerPC |
|00000840| 69 73 20 61 20 74 72 61 | 64 65 6d 61 72 6b 20 6f |is a tra|demark o|
|00000850| 66 20 49 6e 74 65 72 6e | 61 74 69 6f 6e 61 6c 20 |f Intern|ational |
|00000860| 42 75 73 69 6e 65 73 73 | 20 4d 61 63 68 69 6e 65 |Business| Machine|
|00000870| 73 20 43 6f 72 70 6f 72 | 61 74 69 6f 6e 2e 0d 54 |s Corpor|ation..T|
|00000880| 48 49 4e 4b 20 43 20 69 | 73 20 61 20 74 72 61 64 |HINK C i|s a trad|
|00000890| 65 6d 61 72 6b 20 6f 66 | 20 53 79 6d 61 6e 74 65 |emark of| Symante|
|000008a0| 63 20 43 6f 72 70 6f 72 | 61 74 69 6f 6e 2e 0d 55 |c Corpor|ation..U|
|000008b0| 4e 49 58 20 69 73 20 61 | 20 72 65 67 69 73 74 65 |NIX is a| registe|
|000008c0| 72 65 64 20 74 72 61 64 | 65 6d 61 72 6b 20 6f 66 |red trad|emark of|
|000008d0| 20 55 4e 49 58 20 53 79 | 73 74 65 6d 20 4c 61 62 | UNIX Sy|stem Lab|
|000008e0| 6f 72 61 74 6f 72 69 65 | 73 2c 20 49 6e 63 2e 0d |oratorie|s, Inc..|
|000008f0| 53 69 6d 75 6c 74 61 6e | 65 6f 75 73 6c 79 20 70 |Simultan|eously p|
|00000900| 75 62 6c 69 73 68 65 64 | 20 69 6e 20 74 68 65 20 |ublished| in the |
|00000910| 55 6e 69 74 65 64 20 53 | 74 61 74 65 73 20 61 6e |United S|tates an|
|00000920| 64 20 43 61 6e 61 64 61 | 2e 0d 4c 49 4d 49 54 45 |d Canada|..LIMITE|
|00000930| 44 20 57 41 52 52 41 4e | 54 59 20 4f 4e 20 4d 45 |D WARRAN|TY ON ME|
|00000940| 44 49 41 20 41 4e 44 20 | 52 45 50 4c 41 43 45 4d |DIA AND |REPLACEM|
|00000950| 45 4e 54 0d 41 4c 4c 20 | 49 4d 50 4c 49 45 44 20 |ENT.ALL |IMPLIED |
|00000960| 57 41 52 52 41 4e 54 49 | 45 53 20 4f 4e 20 54 48 |WARRANTI|ES ON TH|
|00000970| 49 53 20 4d 41 4e 55 41 | 4c 2c 20 49 4e 43 4c 55 |IS MANUA|L, INCLU|
|00000980| 44 49 4e 47 20 49 4d 50 | 4c 49 45 44 20 57 41 52 |DING IMP|LIED WAR|
|00000990| 52 41 4e 54 49 45 53 20 | 4f 46 20 4d 45 52 43 48 |RANTIES |OF MERCH|
|000009a0| 41 4e 54 41 42 49 4c 49 | 54 59 20 41 4e 44 20 46 |ANTABILI|TY AND F|
|000009b0| 49 54 4e 45 53 53 20 46 | 4f 52 20 41 20 50 41 52 |ITNESS F|OR A PAR|
|000009c0| 54 49 43 55 4c 41 52 20 | 50 55 52 50 4f 53 45 2c |TICULAR |PURPOSE,|
|000009d0| 20 41 52 45 20 4c 49 4d | 49 54 45 44 20 49 4e 20 | ARE LIM|ITED IN |
|000009e0| 44 55 52 41 54 49 4f 4e | 20 54 4f 20 4e 49 4e 45 |DURATION| TO NINE|
|000009f0| 54 59 20 28 39 30 29 20 | 44 41 59 53 20 46 52 4f |TY (90) |DAYS FRO|
|00000a00| 4d 20 54 48 45 20 44 41 | 54 45 20 4f 46 20 54 48 |M THE DA|TE OF TH|
|00000a10| 45 20 4f 52 49 47 49 4e | 41 4c 20 52 45 54 41 49 |E ORIGIN|AL RETAI|
|00000a20| 4c 20 50 55 52 43 48 41 | 53 45 20 4f 46 20 54 48 |L PURCHA|SE OF TH|
|00000a30| 49 53 20 50 52 4f 44 55 | 43 54 2e 0d 45 76 65 6e |IS PRODU|CT..Even|
|00000a40| 20 74 68 6f 75 67 68 20 | 41 70 70 6c 65 20 68 61 | though |Apple ha|
|00000a50| 73 20 72 65 76 69 65 77 | 65 64 20 74 68 69 73 20 |s review|ed this |
|00000a60| 6d 61 6e 75 61 6c 2c 20 | 41 50 50 4c 45 20 4d 41 |manual, |APPLE MA|
|00000a70| 4b 45 53 20 4e 4f 20 57 | 41 52 52 41 4e 54 59 20 |KES NO W|ARRANTY |
|00000a80| 4f 52 20 52 45 50 52 45 | 53 45 4e 54 41 54 49 4f |OR REPRE|SENTATIO|
|00000a90| 4e 2c 20 45 49 54 48 45 | 52 20 45 58 50 52 45 53 |N, EITHE|R EXPRES|
|00000aa0| 53 20 4f 52 20 49 4d 50 | 4c 49 45 44 2c 20 57 49 |S OR IMP|LIED, WI|
|00000ab0| 54 48 20 52 45 53 50 45 | 43 54 20 54 4f 20 54 48 |TH RESPE|CT TO TH|
|00000ac0| 49 53 20 4d 41 4e 55 41 | 4c 2c 20 49 54 53 20 51 |IS MANUA|L, ITS Q|
|00000ad0| 55 41 4c 49 54 59 2c 20 | 41 43 43 55 52 41 43 59 |UALITY, |ACCURACY|
|00000ae0| 2c 20 4d 45 52 43 48 41 | 4e 54 41 42 49 4c 49 54 |, MERCHA|NTABILIT|
|00000af0| 59 2c 20 4f 52 20 46 49 | 54 4e 45 53 53 20 46 4f |Y, OR FI|TNESS FO|
|00000b00| 52 20 41 20 50 41 52 54 | 49 43 55 4c 41 52 20 50 |R A PART|ICULAR P|
|00000b10| 55 52 50 4f 53 45 2e 20 | 41 53 20 41 20 52 45 53 |URPOSE. |AS A RES|
|00000b20| 55 4c 54 2c 20 54 48 49 | 53 20 4d 41 4e 55 41 4c |ULT, THI|S MANUAL|
|00000b30| 20 49 53 20 53 4f 4c 44 | 20 d2 41 53 20 49 53 2c | IS SOLD| .AS IS,|
|00000b40| d3 20 41 4e 44 20 59 4f | 55 2c 20 54 48 45 20 50 |. AND YO|U, THE P|
|00000b50| 55 52 43 48 41 53 45 52 | 2c 20 41 52 45 20 41 53 |URCHASER|, ARE AS|
|00000b60| 53 55 4d 49 4e 47 20 54 | 48 45 20 45 4e 54 49 52 |SUMING T|HE ENTIR|
|00000b70| 45 20 52 49 53 4b 20 41 | 53 20 54 4f 20 49 54 53 |E RISK A|S TO ITS|
|00000b80| 20 51 55 41 4c 49 54 59 | 20 41 4e 44 20 41 43 43 | QUALITY| AND ACC|
|00000b90| 55 52 41 43 59 2e 0d 49 | 4e 20 4e 4f 20 45 56 45 |URACY..I|N NO EVE|
|00000ba0| 4e 54 20 57 49 4c 4c 20 | 41 50 50 4c 45 20 42 45 |NT WILL |APPLE BE|
|00000bb0| 20 4c 49 41 42 4c 45 20 | 46 4f 52 20 44 49 52 45 | LIABLE |FOR DIRE|
|00000bc0| 43 54 2c 20 49 4e 44 49 | 52 45 43 54 2c 20 53 50 |CT, INDI|RECT, SP|
|00000bd0| 45 43 49 41 4c 2c 20 49 | 4e 43 49 44 45 4e 54 41 |ECIAL, I|NCIDENTA|
|00000be0| 4c 2c 20 4f 52 20 43 4f | 4e 53 45 51 55 45 4e 54 |L, OR CO|NSEQUENT|
|00000bf0| 49 41 4c 20 44 41 4d 41 | 47 45 53 20 52 45 53 55 |IAL DAMA|GES RESU|
|00000c00| 4c 54 49 4e 47 20 46 52 | 4f 4d 20 41 4e 59 20 44 |LTING FR|OM ANY D|
|00000c10| 45 46 45 43 54 20 4f 52 | 20 49 4e 41 43 43 55 52 |EFECT OR| INACCUR|
|00000c20| 41 43 59 20 49 4e 20 54 | 48 49 53 20 4d 41 4e 55 |ACY IN T|HIS MANU|
|00000c30| 41 4c 2c 20 65 76 65 6e | 20 69 66 20 61 64 76 69 |AL, even| if advi|
|00000c40| 73 65 64 20 6f 66 20 74 | 68 65 20 70 6f 73 73 69 |sed of t|he possi|
|00000c50| 62 69 6c 69 74 79 20 6f | 66 20 73 75 63 68 20 64 |bility o|f such d|
|00000c60| 61 6d 61 67 65 73 2e 0d | 54 48 45 20 57 41 52 52 |amages..|THE WARR|
|00000c70| 41 4e 54 59 20 41 4e 44 | 20 52 45 4d 45 44 49 45 |ANTY AND| REMEDIE|
|00000c80| 53 20 53 45 54 20 46 4f | 52 54 48 20 41 42 4f 56 |S SET FO|RTH ABOV|
|00000c90| 45 20 41 52 45 20 45 58 | 43 4c 55 53 49 56 45 20 |E ARE EX|CLUSIVE |
|00000ca0| 41 4e 44 20 0d 49 4e 20 | 4c 49 45 55 20 4f 46 20 |AND .IN |LIEU OF |
|00000cb0| 41 4c 4c 20 4f 54 48 45 | 52 53 2c 20 4f 52 41 4c |ALL OTHE|RS, ORAL|
|00000cc0| 20 4f 52 20 57 52 49 54 | 54 45 4e 2c 20 45 58 50 | OR WRIT|TEN, EXP|
|00000cd0| 52 45 53 53 20 4f 52 20 | 49 4d 50 4c 49 45 44 2e |RESS OR |IMPLIED.|
|00000ce0| 20 4e 6f 20 41 70 70 6c | 65 20 64 65 61 6c 65 72 | No Appl|e dealer|
|00000cf0| 2c 20 61 67 65 6e 74 2c | 20 6f 72 20 65 6d 70 6c |, agent,| or empl|
|00000d00| 6f 79 65 65 20 69 73 20 | 61 75 74 68 6f 72 69 7a |oyee is |authoriz|
|00000d10| 65 64 20 74 6f 20 6d 61 | 6b 65 20 61 6e 79 20 6d |ed to ma|ke any m|
|00000d20| 6f 64 69 66 69 63 61 74 | 69 6f 6e 2c 20 65 78 74 |odificat|ion, ext|
|00000d30| 65 6e 73 69 6f 6e 2c 20 | 6f 72 20 61 64 64 69 74 |ension, |or addit|
|00000d40| 69 6f 6e 20 74 6f 20 74 | 68 69 73 20 77 61 72 72 |ion to t|his warr|
|00000d50| 61 6e 74 79 2e 0d 53 6f | 6d 65 20 73 74 61 74 65 |anty..So|me state|
|00000d60| 73 20 64 6f 20 6e 6f 74 | 20 61 6c 6c 6f 77 20 74 |s do not| allow t|
|00000d70| 68 65 20 65 78 63 6c 75 | 73 69 6f 6e 20 6f 72 20 |he exclu|sion or |
|00000d80| 6c 69 6d 69 74 61 74 69 | 6f 6e 20 6f 66 20 69 6d |limitati|on of im|
|00000d90| 70 6c 69 65 64 20 77 61 | 72 72 61 6e 74 69 65 73 |plied wa|rranties|
|00000da0| 20 6f 72 20 6c 69 61 62 | 69 6c 69 74 79 20 66 6f | or liab|ility fo|
|00000db0| 72 20 69 6e 63 69 64 65 | 6e 74 61 6c 20 6f 72 20 |r incide|ntal or |
|00000dc0| 63 6f 6e 73 65 71 75 65 | 6e 74 69 61 6c 20 64 61 |conseque|ntial da|
|00000dd0| 6d 61 67 65 73 2c 20 0d | 73 6f 20 74 68 65 20 61 |mages, .|so the a|
|00000de0| 62 6f 76 65 20 6c 69 6d | 69 74 61 74 69 6f 6e 20 |bove lim|itation |
|00000df0| 6f 72 20 65 78 63 6c 75 | 73 69 6f 6e 20 6d 61 79 |or exclu|sion may|
|00000e00| 20 0d 6e 6f 74 20 61 70 | 70 6c 79 20 74 6f 20 79 | .not ap|ply to y|
|00000e10| 6f 75 2e 20 54 68 69 73 | 20 77 61 72 72 61 6e 74 |ou. This| warrant|
|00000e20| 79 20 67 69 76 65 73 20 | 79 6f 75 20 73 70 65 63 |y gives |you spec|
|00000e30| 69 66 69 63 20 6c 65 67 | 61 6c 20 72 69 67 68 74 |ific leg|al right|
|00000e40| 73 2c 20 61 6e 64 20 79 | 6f 75 20 6d 61 79 20 61 |s, and y|ou may a|
|00000e50| 6c 73 6f 20 68 61 76 65 | 20 6f 74 68 65 72 20 72 |lso have| other r|
|00000e60| 69 67 68 74 73 20 77 68 | 69 63 68 20 76 61 72 79 |ights wh|ich vary|
|00000e70| 20 66 72 6f 6d 20 73 74 | 61 74 65 20 74 6f 20 73 | from st|ate to s|
|00000e80| 74 61 74 65 2e 0d 49 53 | 42 4e 20 30 2d 32 30 31 |tate..IS|BN 0-201|
|00000e90| 2d 34 30 37 32 37 2d 32 | 0d 31 20 32 20 33 20 34 |-40727-2|.1 2 3 4|
|00000ea0| 20 35 20 36 20 37 20 38 | 20 39 2d 43 52 57 2d 39 | 5 6 7 8| 9-CRW-9|
|00000eb0| 38 39 37 39 36 39 35 39 | 34 0d 46 69 72 73 74 20 |89796959|4.First |
|00000ec0| 50 72 69 6e 74 69 6e 67 | 2c 20 46 65 62 72 75 61 |Printing|, Februa|
|00000ed0| 72 79 20 31 39 39 34 0d | 4c 69 62 72 61 72 79 20 |ry 1994.|Library |
|00000ee0| 6f 66 20 43 6f 6e 67 72 | 65 73 73 20 43 61 74 61 |of Congr|ess Cata|
|00000ef0| 6c 6f 67 69 6e 67 2d 69 | 6e 2d 50 75 62 6c 69 63 |loging-i|n-Public|
|00000f00| 61 74 69 6f 6e 20 44 61 | 74 61 0d 49 6e 73 69 64 |ation Da|ta.Insid|
|00000f10| 65 20 4d 61 63 69 6e 74 | 6f 73 68 2e 20 50 6f 77 |e Macint|osh. Pow|
|00000f20| 65 72 50 43 20 73 79 73 | 74 65 6d 20 73 6f 66 74 |erPC sys|tem soft|
|00000f30| 77 61 72 65 20 2f 20 41 | 70 70 6c 65 20 43 6f 6d |ware / A|pple Com|
|00000f40| 70 75 74 65 72 2c 20 49 | 6e 63 2e 0d 09 70 2e 14 |puter, I|nc...p..|
|00000f50| 63 6d 2e 0d 49 6e 63 6c | 75 64 65 73 20 69 6e 64 |cm..Incl|udes ind|
|00000f60| 65 78 2e 0d 49 53 42 4e | 20 30 2d 32 30 31 2d 34 |ex..ISBN| 0-201-4|
|00000f70| 30 37 32 37 2d 32 0d 31 | 2e 20 4d 61 63 69 6e 74 |0727-2.1|. Macint|
|00000f80| 6f 73 68 20 28 43 6f 6d | 70 75 74 65 72 29 14 32 |osh (Com|puter).2|
|00000f90| 2e 20 50 6f 77 65 72 50 | 43 20 28 4d 69 63 72 6f |. PowerP|C (Micro|
|00000fa0| 70 72 6f 63 65 73 73 6f | 72 29 14 33 2e 20 53 79 |processo|r).3. Sy|
|00000fb0| 73 74 65 6d 73 0d 73 6f | 66 74 77 61 72 65 2e 14 |stems.so|ftware..|
|00000fc0| 49 2e 20 54 69 74 6c 65 | 3a 20 50 6f 77 65 72 50 |I. Title|: PowerP|
|00000fd0| 43 20 73 79 73 74 65 6d | 20 73 6f 66 74 77 61 72 |C system| softwar|
|00000fe0| 65 2e 0d 51 41 37 36 2e | 38 2e 4d 33 49 35 32 38 |e..QA76.|8.M3I528|
|00000ff0| 14 31 39 39 34 0d 30 30 | 35 2e 34 27 34 36 39 d1 |.1994.00|5.4'469.|
|00001000| 64 63 32 30 09 39 33 2d | 35 30 31 38 32 0d 43 49 |dc20.93-|50182.CI|
|00001010| 50 0d 43 6f 6e 74 65 6e | 74 73 0d 46 69 67 75 72 |P.Conten|ts.Figur|
|00001020| 65 73 2c 20 54 61 62 6c | 65 73 2c 20 61 6e 64 20 |es, Tabl|es, and |
|00001030| 4c 69 73 74 69 6e 67 73 | 14 14 76 69 69 0d 50 72 |Listings|..vii.Pr|
|00001040| 65 66 61 63 65 09 41 62 | 6f 75 74 20 54 68 69 73 |eface.Ab|out This|
|00001050| 20 42 6f 6f 6b 14 14 69 | 78 0d 0d 52 65 6c 61 74 | Book..i|x..Relat|
|00001060| 65 64 20 44 6f 63 75 6d | 65 6e 74 61 74 69 6f 6e |ed Docum|entation|
|00001070| 14 14 78 69 0d 46 6f 72 | 6d 61 74 20 6f 66 20 61 |..xi.For|mat of a|
|00001080| 20 54 79 70 69 63 61 6c | 20 43 68 61 70 74 65 72 | Typical| Chapter|
|00001090| 14 14 78 69 0d 43 6f 6e | 76 65 6e 74 69 6f 6e 73 |..xi.Con|ventions|
|000010a0| 20 55 73 65 64 20 69 6e | 20 54 68 69 73 20 42 6f | Used in| This Bo|
|000010b0| 6f 6b 14 14 78 69 69 0d | 53 70 65 63 69 61 6c 20 |ok..xii.|Special |
|000010c0| 46 6f 6e 74 73 14 14 78 | 69 69 0d 54 79 70 65 73 |Fonts..x|ii.Types|
|000010d0| 20 6f 66 20 4e 6f 74 65 | 73 14 14 78 69 69 0d 42 | of Note|s..xii.B|
|000010e0| 69 74 20 4e 75 6d 62 65 | 72 69 6e 67 20 61 6e 64 |it Numbe|ring and|
|000010f0| 20 57 6f 72 64 20 53 69 | 7a 65 14 14 78 69 69 0d | Word Si|ze..xii.|
|00001100| 41 73 73 65 6d 62 6c 79 | 2d 4c 61 6e 67 75 61 67 |Assembly|-Languag|
|00001110| 65 20 49 6e 66 6f 72 6d | 61 74 69 6f 6e 14 14 78 |e Inform|ation..x|
|00001120| 69 76 0d 44 65 76 65 6c | 6f 70 6d 65 6e 74 20 45 |iv.Devel|opment E|
|00001130| 6e 76 69 72 6f 6e 6d 65 | 6e 74 14 14 78 69 76 0d |nvironme|nt..xiv.|
|00001140| 46 6f 72 20 4d 6f 72 65 | 20 49 6e 66 6f 72 6d 61 |For More| Informa|
|00001150| 74 69 6f 6e 14 14 78 76 | 0d 43 68 61 70 74 65 72 |tion..xv|.Chapter|
|00001160| 20 31 09 49 6e 74 72 6f | 64 75 63 74 69 6f 6e 20 | 1.Intro|duction |
|00001170| 74 6f 20 50 6f 77 65 72 | 50 43 20 53 79 73 74 65 |to Power|PC Syste|
|00001180| 6d 20 53 6f 66 74 77 61 | 72 65 14 14 31 2d 31 0d |m Softwa|re..1-1.|
|00001190| 0d 4f 76 65 72 76 69 65 | 77 20 6f 66 20 74 68 65 |.Overvie|w of the|
|000011a0| 20 50 6f 77 65 72 50 43 | 20 53 79 73 74 65 6d 20 | PowerPC| System |
|000011b0| 53 6f 66 74 77 61 72 65 | 14 14 31 2d 34 0d 54 68 |Software|..1-4.Th|
|000011c0| 65 20 36 38 4c 43 30 34 | 30 20 45 6d 75 6c 61 74 |e 68LC04|0 Emulat|
|000011d0| 6f 72 14 14 31 2d 36 0d | 45 6d 75 6c 61 74 6f 72 |or..1-6.|Emulator|
|000011e0| 20 4f 70 65 72 61 74 69 | 6f 6e 14 14 31 2d 37 0d | Operati|on..1-7.|
|000011f0| 45 6d 75 6c 61 74 6f 72 | 20 4c 69 6d 69 74 61 74 |Emulator| Limitat|
|00001200| 69 6f 6e 73 14 14 31 2d | 38 0d 43 6f 70 72 6f 63 |ions..1-|8.Coproc|
|00001210| 65 73 73 6f 72 73 14 14 | 31 2d 39 0d 49 6e 73 74 |essors..|1-9.Inst|
|00001220| 72 75 63 74 69 6f 6e 20 | 54 69 6d 69 6e 67 73 14 |ruction |Timings.|
|00001230| 14 31 2d 39 0d 44 65 6c | 65 74 65 64 20 49 6e 73 |.1-9.Del|eted Ins|
|00001240| 74 72 75 63 74 69 6f 6e | 73 14 14 31 2d 39 0d 55 |truction|s..1-9.U|
|00001250| 6e 73 75 70 70 6f 72 74 | 65 64 20 49 6e 73 74 72 |nsupport|ed Instr|
|00001260| 75 63 74 69 6f 6e 20 46 | 65 61 74 75 72 65 73 14 |uction F|eatures.|
|00001270| 14 31 2d 31 30 0d 49 6e | 73 74 72 75 63 74 69 6f |.1-10.In|structio|
|00001280| 6e 20 43 61 63 68 65 73 | 14 14 31 2d 31 30 0d 41 |n Caches|..1-10.A|
|00001290| 64 64 72 65 73 73 20 45 | 72 72 6f 72 20 45 78 63 |ddress E|rror Exc|
|000012a0| 65 70 74 69 6f 6e 73 14 | 14 31 2d 31 30 0d 42 75 |eptions.|.1-10.Bu|
|000012b0| 73 20 45 72 72 6f 72 20 | 45 78 63 65 70 74 69 6f |s Error |Exceptio|
|000012c0| 6e 73 14 14 31 2d 31 31 | 0d 4d 65 6d 6f 72 79 2d |ns..1-11|.Memory-|
|000012d0| 4d 61 70 70 65 64 20 49 | 2f 4f 20 4c 6f 63 61 74 |Mapped I|/O Locat|
|000012e0| 69 6f 6e 73 14 14 31 2d | 31 31 0d 4d 69 78 65 64 |ions..1-|11.Mixed|
|000012f0| 20 4d 6f 64 65 14 14 31 | 2d 31 33 0d 43 72 6f 73 | Mode..1|-13.Cros|
|00001300| 73 2d 4d 6f 64 65 20 43 | 61 6c 6c 73 14 14 31 2d |s-Mode C|alls..1-|
|00001310| 31 34 0d 52 6f 75 74 69 | 6e 65 20 44 65 73 63 72 |14.Routi|ne Descr|
|00001320| 69 70 74 6f 72 73 14 14 | 31 2d 31 35 0d 4d 65 6d |iptors..|1-15.Mem|
|00001330| 6f 72 79 20 43 6f 6e 73 | 69 64 65 72 61 74 69 6f |ory Cons|ideratio|
|00001340| 6e 73 14 14 31 2d 31 39 | 0d 54 68 65 20 50 6f 77 |ns..1-19|.The Pow|
|00001350| 65 72 50 43 20 4e 61 74 | 69 76 65 20 45 6e 76 69 |erPC Nat|ive Envi|
|00001360| 72 6f 6e 6d 65 6e 74 14 | 14 31 2d 31 39 0d 46 72 |ronment.|.1-19.Fr|
|00001370| 61 67 6d 65 6e 74 73 14 | 14 31 2d 32 30 0d 54 68 |agments.|.1-20.Th|
|00001380| 65 20 53 74 72 75 63 74 | 75 72 65 20 6f 66 20 46 |e Struct|ure of F|
|00001390| 72 61 67 6d 65 6e 74 73 | 14 14 31 2d 32 32 0d 49 |ragments|..1-22.I|
|000013a0| 6d 70 6f 72 74 73 20 61 | 6e 64 20 45 78 70 6f 72 |mports a|nd Expor|
|000013b0| 74 73 14 14 31 2d 32 33 | 0d 54 68 65 20 54 61 62 |ts..1-23|.The Tab|
|000013c0| 6c 65 20 6f 66 20 43 6f | 6e 74 65 6e 74 73 14 14 |le of Co|ntents..|
|000013d0| 31 2d 32 36 0d 53 70 65 | 63 69 61 6c 20 52 6f 75 |1-26.Spe|cial Rou|
|000013e0| 74 69 6e 65 73 14 14 31 | 2d 32 39 0d 46 72 61 67 |tines..1|-29.Frag|
|000013f0| 6d 65 6e 74 20 53 74 6f | 72 61 67 65 14 14 31 2d |ment Sto|rage..1-|
|00001400| 33 30 0d 45 78 65 63 75 | 74 61 62 6c 65 20 52 65 |30.Execu|table Re|
|00001410| 73 6f 75 72 63 65 73 14 | 14 31 2d 33 34 0d 43 61 |sources.|.1-34.Ca|
|00001420| 6c 6c 69 6e 67 20 43 6f | 6e 76 65 6e 74 69 6f 6e |lling Co|nvention|
|00001430| 73 14 14 31 2d 34 31 0d | 54 68 65 20 36 38 30 78 |s..1-41.|The 680x|
|00001440| 30 20 43 61 6c 6c 69 6e | 67 20 43 6f 6e 76 65 6e |0 Callin|g Conven|
|00001450| 74 69 6f 6e 73 14 14 31 | 2d 34 32 0d 54 68 65 20 |tions..1|-42.The |
|00001460| 50 6f 77 65 72 50 43 20 | 43 61 6c 6c 69 6e 67 20 |PowerPC |Calling |
|00001470| 43 6f 6e 76 65 6e 74 69 | 6f 6e 73 14 14 31 2d 34 |Conventi|ons..1-4|
|00001480| 33 0d 50 61 72 61 6d 65 | 74 65 72 20 50 61 73 73 |3.Parame|ter Pass|
|00001490| 69 6e 67 14 14 31 2d 34 | 37 0d 49 6d 70 6f 72 74 |ing..1-4|7.Import|
|000014a0| 20 4c 69 62 72 61 72 69 | 65 73 14 14 31 2d 35 30 | Librari|es..1-50|
|000014b0| 0d 54 68 65 20 4f 72 67 | 61 6e 69 7a 61 74 69 6f |.The Org|anizatio|
|000014c0| 6e 20 6f 66 20 4d 65 6d | 6f 72 79 14 14 31 2d 35 |n of Mem|ory..1-5|
|000014d0| 32 0d 46 69 6c 65 20 4d | 61 70 70 69 6e 67 14 14 |2.File M|apping..|
|000014e0| 31 2d 35 33 0d 54 68 65 | 20 53 79 73 74 65 6d 20 |1-53.The| System |
|000014f0| 50 61 72 74 69 74 69 6f | 6e 14 14 31 2d 35 36 0d |Partitio|n..1-56.|
|00001500| 41 70 70 6c 69 63 61 74 | 69 6f 6e 20 50 61 72 74 |Applicat|ion Part|
|00001510| 69 74 69 6f 6e 73 14 14 | 31 2d 35 37 0d 44 61 74 |itions..|1-57.Dat|
|00001520| 61 20 41 6c 69 67 6e 6d | 65 6e 74 14 14 31 2d 36 |a Alignm|ent..1-6|
|00001530| 33 0d 43 6f 6d 70 61 74 | 69 62 69 6c 69 74 79 20 |3.Compat|ibility |
|00001540| 61 6e 64 20 50 65 72 66 | 6f 72 6d 61 6e 63 65 14 |and Perf|ormance.|
|00001550| 14 31 2d 36 35 0d 50 61 | 74 63 68 65 73 14 14 31 |.1-65.Pa|tches..1|
|00001560| 2d 36 36 0d 54 68 65 20 | 4d 65 6d 6f 72 79 20 4d |-66.The |Memory M|
|00001570| 61 6e 61 67 65 72 14 14 | 31 2d 36 38 0d 50 65 72 |anager..|1-68.Per|
|00001580| 66 6f 72 6d 61 6e 63 65 | 20 54 75 6e 69 6e 67 14 |formance| Tuning.|
|00001590| 14 31 2d 37 30 0d 4d 6f | 64 65 20 53 77 69 74 63 |.1-70.Mo|de Switc|
|000015a0| 68 65 73 14 14 31 2d 37 | 31 0d 52 6f 75 74 69 6e |hes..1-7|1.Routin|
|000015b0| 65 20 50 61 72 61 6d 65 | 74 65 72 73 14 14 31 2d |e Parame|ters..1-|
|000015c0| 37 32 0d 43 68 61 70 74 | 65 72 20 32 09 4d 69 78 |72.Chapt|er 2.Mix|
|000015d0| 65 64 20 4d 6f 64 65 20 | 4d 61 6e 61 67 65 72 14 |ed Mode |Manager.|
|000015e0| 14 32 2d 31 0d 0d 41 62 | 6f 75 74 20 74 68 65 20 |.2-1..Ab|out the |
|000015f0| 4d 69 78 65 64 20 4d 6f | 64 65 20 4d 61 6e 61 67 |Mixed Mo|de Manag|
|00001600| 65 72 14 14 32 2d 34 0d | 45 78 74 65 72 6e 61 6c |er..2-4.|External|
|00001610| 20 43 6f 64 65 14 14 32 | 2d 34 0d 50 72 6f 63 65 | Code..2|-4.Proce|
|00001620| 64 75 72 65 20 50 6f 69 | 6e 74 65 72 73 14 14 32 |dure Poi|nters..2|
|00001630| 2d 35 0d 4d 6f 64 65 20 | 53 77 69 74 63 68 65 73 |-5.Mode |Switches|
|00001640| 14 14 32 2d 37 0d 43 61 | 6c 6c 69 6e 67 20 50 6f |..2-7.Ca|lling Po|
|00001650| 77 65 72 50 43 20 43 6f | 64 65 20 46 72 6f 6d 20 |werPC Co|de From |
|00001660| 36 38 30 78 30 20 43 6f | 64 65 14 14 32 2d 38 0d |680x0 Co|de..2-8.|
|00001670| 43 61 6c 6c 69 6e 67 20 | 36 38 30 78 30 20 43 6f |Calling |680x0 Co|
|00001680| 64 65 20 46 72 6f 6d 20 | 50 6f 77 65 72 50 43 20 |de From |PowerPC |
|00001690| 43 6f 64 65 14 14 32 2d | 31 32 0d 55 73 69 6e 67 |Code..2-|12.Using|
|000016a0| 20 74 68 65 20 4d 69 78 | 65 64 20 4d 6f 64 65 20 | the Mix|ed Mode |
|000016b0| 4d 61 6e 61 67 65 72 14 | 14 32 2d 31 34 0d 53 70 |Manager.|.2-14.Sp|
|000016c0| 65 63 69 66 79 69 6e 67 | 20 50 72 6f 63 65 64 75 |ecifying| Procedu|
|000016d0| 72 65 20 49 6e 66 6f 72 | 6d 61 74 69 6f 6e 14 14 |re Infor|mation..|
|000016e0| 32 2d 31 34 0d 55 73 69 | 6e 67 20 55 6e 69 76 65 |2-14.Usi|ng Unive|
|000016f0| 72 73 61 6c 20 50 72 6f | 63 65 64 75 72 65 20 50 |rsal Pro|cedure P|
|00001700| 6f 69 6e 74 65 72 73 14 | 14 32 2d 32 31 0d 55 73 |ointers.|.2-21.Us|
|00001710| 69 6e 67 20 53 74 61 74 | 69 63 20 52 6f 75 74 69 |ing Stat|ic Routi|
|00001720| 6e 65 20 44 65 73 63 72 | 69 70 74 6f 72 73 14 14 |ne Descr|iptors..|
|00001730| 32 2d 32 32 0d 45 78 65 | 63 75 74 69 6e 67 20 52 |2-22.Exe|cuting R|
|00001740| 65 73 6f 75 72 63 65 2d | 42 61 73 65 64 20 43 6f |esource-|Based Co|
|00001750| 64 65 14 14 32 2d 32 34 | 0d 4d 69 78 65 64 20 4d |de..2-24|.Mixed M|
|00001760| 6f 64 65 20 4d 61 6e 61 | 67 65 72 20 52 65 66 65 |ode Mana|ger Refe|
|00001770| 72 65 6e 63 65 14 14 32 | 2d 32 36 0d 43 6f 6e 73 |rence..2|-26.Cons|
|00001780| 74 61 6e 74 73 14 14 32 | 2d 32 37 0d 52 6f 75 74 |tants..2|-27.Rout|
|00001790| 69 6e 65 20 44 65 73 63 | 72 69 70 74 6f 72 20 46 |ine Desc|riptor F|
|000017a0| 6c 61 67 73 14 14 32 2d | 32 37 0d 50 72 6f 63 65 |lags..2-|27.Proce|
|000017b0| 64 75 72 65 20 49 6e 66 | 6f 72 6d 61 74 69 6f 6e |dure Inf|ormation|
|000017c0| 14 14 32 2d 32 37 0d 52 | 6f 75 74 69 6e 65 20 46 |..2-27.R|outine F|
|000017d0| 6c 61 67 73 14 14 32 2d | 33 34 0d 49 6e 73 74 72 |lags..2-|34.Instr|
|000017e0| 75 63 74 69 6f 6e 20 53 | 65 74 20 41 72 63 68 69 |uction S|et Archi|
|000017f0| 74 65 63 74 75 72 65 73 | 14 14 32 2d 33 35 0d 44 |tectures|..2-35.D|
|00001800| 61 74 61 20 53 74 72 75 | 63 74 75 72 65 73 14 14 |ata Stru|ctures..|
|00001810| 32 2d 33 36 0d 52 6f 75 | 74 69 6e 65 20 52 65 63 |2-36.Rou|tine Rec|
|00001820| 6f 72 64 73 14 14 32 2d | 33 36 0d 52 6f 75 74 69 |ords..2-|36.Routi|
|00001830| 6e 65 20 44 65 73 63 72 | 69 70 74 6f 72 73 14 14 |ne Descr|iptors..|
|00001840| 32 2d 33 37 0d 4d 69 78 | 65 64 20 4d 6f 64 65 20 |2-37.Mix|ed Mode |
|00001850| 4d 61 6e 61 67 65 72 20 | 52 6f 75 74 69 6e 65 73 |Manager |Routines|
|00001860| 14 14 32 2d 33 38 0d 43 | 72 65 61 74 69 6e 67 20 |..2-38.C|reating |
|00001870| 61 6e 64 20 44 69 73 70 | 6f 73 69 6e 67 20 6f 66 |and Disp|osing of|
|00001880| 20 52 6f 75 74 69 6e 65 | 20 44 65 73 63 72 69 70 | Routine| Descrip|
|00001890| 74 6f 72 73 14 14 32 2d | 33 39 0d 43 61 6c 6c 69 |tors..2-|39.Calli|
|000018a0| 6e 67 20 52 6f 75 74 69 | 6e 65 73 20 76 69 61 20 |ng Routi|nes via |
|000018b0| 55 6e 69 76 65 72 73 61 | 6c 20 50 72 6f 63 65 64 |Universa|l Proced|
|000018c0| 75 72 65 20 50 6f 69 6e | 74 65 72 73 14 14 32 2d |ure Poin|ters..2-|
|000018d0| 34 32 0d 44 65 74 65 72 | 6d 69 6e 69 6e 67 20 49 |42.Deter|mining I|
|000018e0| 6e 73 74 72 75 63 74 69 | 6f 6e 20 53 65 74 20 41 |nstructi|on Set A|
|000018f0| 72 63 68 69 74 65 63 74 | 75 72 65 73 14 14 32 2d |rchitect|ures..2-|
|00001900| 34 34 0d 53 75 6d 6d 61 | 72 79 20 6f 66 20 74 68 |44.Summa|ry of th|
|00001910| 65 20 4d 69 78 65 64 20 | 4d 6f 64 65 20 4d 61 6e |e Mixed |Mode Man|
|00001920| 61 67 65 72 14 14 32 2d | 34 35 0d 43 20 53 75 6d |ager..2-|45.C Sum|
|00001930| 6d 61 72 79 14 14 32 2d | 34 35 0d 43 6f 6e 73 74 |mary..2-|45.Const|
|00001940| 61 6e 74 73 14 14 32 2d | 34 35 0d 44 61 74 61 20 |ants..2-|45.Data |
|00001950| 54 79 70 65 73 14 14 32 | 2d 34 38 0d 4d 69 78 65 |Types..2|-48.Mixe|
|00001960| 64 20 4d 6f 64 65 20 4d | 61 6e 61 67 65 72 20 52 |d Mode M|anager R|
|00001970| 6f 75 74 69 6e 65 73 14 | 14 32 2d 34 39 0d 43 68 |outines.|.2-49.Ch|
|00001980| 61 70 74 65 72 20 33 09 | 43 6f 64 65 20 46 72 61 |apter 3.|Code Fra|
|00001990| 67 6d 65 6e 74 20 4d 61 | 6e 61 67 65 72 14 14 33 |gment Ma|nager..3|
|000019a0| 2d 31 0d 0d 41 62 6f 75 | 74 20 74 68 65 20 43 6f |-1..Abou|t the Co|
|000019b0| 64 65 20 46 72 61 67 6d | 65 6e 74 20 4d 61 6e 61 |de Fragm|ent Mana|
|000019c0| 67 65 72 14 14 33 2d 33 | 0d 46 72 61 67 6d 65 6e |ger..3-3|.Fragmen|
|000019d0| 74 73 14 14 33 2d 34 0d | 49 6d 70 6f 72 74 20 4c |ts..3-4.|Import L|
|000019e0| 69 62 72 61 72 79 20 53 | 65 61 72 63 68 69 6e 67 |ibrary S|earching|
|000019f0| 14 14 33 2d 35 0d 56 65 | 72 73 69 6f 6e 20 43 68 |..3-5.Ve|rsion Ch|
|00001a00| 65 63 6b 69 6e 67 14 14 | 33 2d 37 0d 55 73 69 6e |ecking..|3-7.Usin|
|00001a10| 67 20 74 68 65 20 43 6f | 64 65 20 46 72 61 67 6d |g the Co|de Fragm|
|00001a20| 65 6e 74 20 4d 61 6e 61 | 67 65 72 14 14 33 2d 31 |ent Mana|ger..3-1|
|00001a30| 30 0d 4c 6f 61 64 69 6e | 67 20 43 6f 64 65 20 46 |0.Loadin|g Code F|
|00001a40| 72 61 67 6d 65 6e 74 73 | 14 14 33 2d 31 30 0d 43 |ragments|..3-10.C|
|00001a50| 72 65 61 74 69 6e 67 20 | 61 20 43 6f 64 65 20 46 |reating |a Code F|
|00001a60| 72 61 67 6d 65 6e 74 20 | 52 65 73 6f 75 72 63 65 |ragment |Resource|
|00001a70| 14 14 33 2d 31 32 0d 47 | 65 74 74 69 6e 67 20 49 |..3-12.G|etting I|
|00001a80| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 41 62 6f 75 74 |nformati|on About|
|00001a90| 20 45 78 70 6f 72 74 65 | 64 20 53 79 6d 62 6f 6c | Exporte|d Symbol|
|00001aa0| 73 14 14 33 2d 31 34 0d | 43 6f 64 65 20 46 72 61 |s..3-14.|Code Fra|
|00001ab0| 67 6d 65 6e 74 20 4d 61 | 6e 61 67 65 72 20 52 65 |gment Ma|nager Re|
|00001ac0| 66 65 72 65 6e 63 65 14 | 14 33 2d 31 35 0d 44 61 |ference.|.3-15.Da|
|00001ad0| 74 61 20 53 74 72 75 63 | 74 75 72 65 73 14 14 33 |ta Struc|tures..3|
|00001ae0| 2d 31 35 0d 46 72 61 67 | 6d 65 6e 74 20 49 6e 69 |-15.Frag|ment Ini|
|00001af0| 74 69 61 6c 69 7a 61 74 | 69 6f 6e 20 42 6c 6f 63 |tializat|ion Bloc|
|00001b00| 6b 14 14 33 2d 31 35 0d | 46 72 61 67 6d 65 6e 74 |k..3-15.|Fragment|
|00001b10| 20 4c 6f 63 61 74 69 6f | 6e 20 52 65 63 6f 72 64 | Locatio|n Record|
|00001b20| 14 14 33 2d 31 36 0d 4d | 65 6d 6f 72 79 20 4c 6f |..3-16.M|emory Lo|
|00001b30| 63 61 74 69 6f 6e 20 52 | 65 63 6f 72 64 14 14 33 |cation R|ecord..3|
|00001b40| 2d 31 37 0d 44 69 73 6b | 20 4c 6f 63 61 74 69 6f |-17.Disk| Locatio|
|00001b50| 6e 20 52 65 63 6f 72 64 | 14 14 33 2d 31 37 0d 53 |n Record|..3-17.S|
|00001b60| 65 67 6d 65 6e 74 20 4c | 6f 63 61 74 69 6f 6e 20 |egment L|ocation |
|00001b70| 52 65 63 6f 72 64 14 14 | 33 2d 31 38 0d 43 6f 64 |Record..|3-18.Cod|
|00001b80| 65 20 46 72 61 67 6d 65 | 6e 74 20 4d 61 6e 61 67 |e Fragme|nt Manag|
|00001b90| 65 72 20 52 6f 75 74 69 | 6e 65 73 14 14 33 2d 31 |er Routi|nes..3-1|
|00001ba0| 38 0d 4c 6f 61 64 69 6e | 67 20 46 72 61 67 6d 65 |8.Loadin|g Fragme|
|00001bb0| 6e 74 73 14 14 33 2d 31 | 39 0d 55 6e 6c 6f 61 64 |nts..3-1|9.Unload|
|00001bc0| 69 6e 67 20 46 72 61 67 | 6d 65 6e 74 73 14 14 33 |ing Frag|ments..3|
|00001bd0| 2d 32 33 0d 46 69 6e 64 | 69 6e 67 20 53 79 6d 62 |-23.Find|ing Symb|
|00001be0| 6f 6c 73 14 14 33 2d 32 | 34 0d 46 72 61 67 6d 65 |ols..3-2|4.Fragme|
|00001bf0| 6e 74 2d 44 65 66 69 6e | 65 64 20 52 6f 75 74 69 |nt-Defin|ed Routi|
|00001c00| 6e 65 73 14 14 33 2d 32 | 36 0d 52 65 73 6f 75 72 |nes..3-2|6.Resour|
|00001c10| 63 65 73 14 14 33 2d 32 | 38 0d 54 68 65 20 43 6f |ces..3-2|8.The Co|
|00001c20| 64 65 20 46 72 61 67 6d | 65 6e 74 20 52 65 73 6f |de Fragm|ent Reso|
|00001c30| 75 72 63 65 14 14 33 2d | 32 38 0d 53 75 6d 6d 61 |urce..3-|28.Summa|
|00001c40| 72 79 20 6f 66 20 74 68 | 65 20 43 6f 64 65 20 46 |ry of th|e Code F|
|00001c50| 72 61 67 6d 65 6e 74 20 | 4d 61 6e 61 67 65 72 14 |ragment |Manager.|
|00001c60| 14 33 2d 33 32 0d 43 20 | 53 75 6d 6d 61 72 79 14 |.3-32.C |Summary.|
|00001c70| 14 33 2d 33 32 0d 43 6f | 6e 73 74 61 6e 74 73 14 |.3-32.Co|nstants.|
|00001c80| 14 33 2d 33 32 0d 44 61 | 74 61 20 54 79 70 65 73 |.3-32.Da|ta Types|
|00001c90| 14 14 33 2d 33 33 0d 43 | 6f 64 65 20 46 72 61 67 |..3-33.C|ode Frag|
|00001ca0| 6d 65 6e 74 20 4d 61 6e | 61 67 65 72 20 52 6f 75 |ment Man|ager Rou|
|00001cb0| 74 69 6e 65 73 14 14 33 | 2d 33 34 0d 46 72 61 67 |tines..3|-34.Frag|
|00001cc0| 6d 65 6e 74 2d 44 65 66 | 69 6e 65 64 20 52 6f 75 |ment-Def|ined Rou|
|00001cd0| 74 69 6e 65 73 14 14 33 | 2d 33 35 0d 52 65 73 75 |tines..3|-35.Resu|
|00001ce0| 6c 74 20 43 6f 64 65 73 | 14 14 33 2d 33 35 0d 43 |lt Codes|..3-35.C|
|00001cf0| 68 61 70 74 65 72 20 34 | 09 45 78 63 65 70 74 69 |hapter 4|.Excepti|
|00001d00| 6f 6e 20 4d 61 6e 61 67 | 65 72 14 14 34 2d 31 0d |on Manag|er..4-1.|
|00001d10| 0d 41 62 6f 75 74 20 74 | 68 65 20 45 78 63 65 70 |.About t|he Excep|
|00001d20| 74 69 6f 6e 20 4d 61 6e | 61 67 65 72 14 14 34 2d |tion Man|ager..4-|
|00001d30| 33 0d 45 78 63 65 70 74 | 69 6f 6e 20 43 6f 6e 74 |3.Except|ion Cont|
|00001d40| 65 78 74 73 14 14 34 2d | 34 0d 54 79 70 65 73 20 |exts..4-|4.Types |
|00001d50| 6f 66 20 45 78 63 65 70 | 74 69 6f 6e 73 14 14 34 |of Excep|tions..4|
|00001d60| 2d 35 0d 55 73 69 6e 67 | 20 74 68 65 20 45 78 63 |-5.Using| the Exc|
|00001d70| 65 70 74 69 6f 6e 20 4d | 61 6e 61 67 65 72 14 14 |eption M|anager..|
|00001d80| 34 2d 36 0d 49 6e 73 74 | 61 6c 6c 69 6e 67 20 61 |4-6.Inst|alling a|
|00001d90| 6e 20 45 78 63 65 70 74 | 69 6f 6e 20 48 61 6e 64 |n Except|ion Hand|
|00001da0| 6c 65 72 14 14 34 2d 36 | 0d 57 72 69 74 69 6e 67 |ler..4-6|.Writing|
|00001db0| 20 61 6e 20 45 78 63 65 | 70 74 69 6f 6e 20 48 61 | an Exce|ption Ha|
|00001dc0| 6e 64 6c 65 72 14 14 34 | 2d 37 0d 45 78 63 65 70 |ndler..4|-7.Excep|
|00001dd0| 74 69 6f 6e 20 4d 61 6e | 61 67 65 72 20 52 65 66 |tion Man|ager Ref|
|00001de0| 65 72 65 6e 63 65 14 14 | 34 2d 39 0d 43 6f 6e 73 |erence..|4-9.Cons|
|00001df0| 74 61 6e 74 73 14 14 34 | 2d 39 0d 45 78 63 65 70 |tants..4|-9.Excep|
|00001e00| 74 69 6f 6e 20 4b 69 6e | 64 73 14 14 34 2d 39 0d |tion Kin|ds..4-9.|
|00001e10| 4d 65 6d 6f 72 79 20 52 | 65 66 65 72 65 6e 63 65 |Memory R|eference|
|00001e20| 20 4b 69 6e 64 73 14 14 | 34 2d 31 31 0d 44 61 74 | Kinds..|4-11.Dat|
|00001e30| 61 20 53 74 72 75 63 74 | 75 72 65 73 14 14 34 2d |a Struct|ures..4-|
|00001e40| 31 32 0d 4d 61 63 68 69 | 6e 65 20 49 6e 66 6f 72 |12.Machi|ne Infor|
|00001e50| 6d 61 74 69 6f 6e 20 52 | 65 63 6f 72 64 73 14 14 |mation R|ecords..|
|00001e60| 34 2d 31 32 0d 52 65 67 | 69 73 74 65 72 20 49 6e |4-12.Reg|ister In|
|00001e70| 66 6f 72 6d 61 74 69 6f | 6e 20 52 65 63 6f 72 64 |formatio|n Record|
|00001e80| 73 14 14 34 2d 31 32 0d | 46 6c 6f 61 74 69 6e 67 |s..4-12.|Floating|
|00001e90| 2d 50 6f 69 6e 74 20 49 | 6e 66 6f 72 6d 61 74 69 |-Point I|nformati|
|00001ea0| 6f 6e 20 52 65 63 6f 72 | 64 73 14 14 34 2d 31 34 |on Recor|ds..4-14|
|00001eb0| 0d 4d 65 6d 6f 72 79 20 | 45 78 63 65 70 74 69 6f |.Memory |Exceptio|
|00001ec0| 6e 20 52 65 63 6f 72 64 | 73 14 14 34 2d 31 35 0d |n Record|s..4-15.|
|00001ed0| 45 78 63 65 70 74 69 6f | 6e 20 49 6e 66 6f 72 6d |Exceptio|n Inform|
|00001ee0| 61 74 69 6f 6e 20 52 65 | 63 6f 72 64 73 14 14 34 |ation Re|cords..4|
|00001ef0| 2d 31 36 0d 45 78 63 65 | 70 74 69 6f 6e 20 4d 61 |-16.Exce|ption Ma|
|00001f00| 6e 61 67 65 72 20 52 6f | 75 74 69 6e 65 73 14 14 |nager Ro|utines..|
|00001f10| 34 2d 31 37 0d 41 70 70 | 6c 69 63 61 74 69 6f 6e |4-17.App|lication|
|00001f20| 2d 44 65 66 69 6e 65 64 | 20 52 6f 75 74 69 6e 65 |-Defined| Routine|
|00001f30| 73 14 14 34 2d 31 37 0d | 53 75 6d 6d 61 72 79 20 |s..4-17.|Summary |
|00001f40| 6f 66 20 74 68 65 20 45 | 78 63 65 70 74 69 6f 6e |of the E|xception|
|00001f50| 20 4d 61 6e 61 67 65 72 | 14 14 34 2d 31 39 0d 43 | Manager|..4-19.C|
|00001f60| 20 53 75 6d 6d 61 72 79 | 14 14 34 2d 31 39 0d 43 | Summary|..4-19.C|
|00001f70| 6f 6e 73 74 61 6e 74 73 | 14 14 34 2d 31 39 0d 44 |onstants|..4-19.D|
|00001f80| 61 74 61 20 54 79 70 65 | 73 14 14 34 2d 31 39 0d |ata Type|s..4-19.|
|00001f90| 45 78 63 65 70 74 69 6f | 6e 20 4d 61 6e 61 67 65 |Exceptio|n Manage|
|00001fa0| 72 20 52 6f 75 74 69 6e | 65 73 14 14 34 2d 32 32 |r Routin|es..4-22|
|00001fb0| 0d 41 70 70 6c 69 63 61 | 74 69 6f 6e 2d 44 65 66 |.Applica|tion-Def|
|00001fc0| 69 6e 65 64 20 52 6f 75 | 74 69 6e 65 73 14 14 34 |ined Rou|tines..4|
|00001fd0| 2d 32 32 0d 47 6c 6f 73 | 73 61 72 79 14 14 47 4c |-22.Glos|sary..GL|
|00001fe0| 2d 31 0d 0d 49 6e 64 65 | 78 14 14 49 4e 2d 31 0d |-1..Inde|x..IN-1.|
|00001ff0| 46 69 67 75 72 65 73 2c | 20 54 61 62 6c 65 73 2c |Figures,| Tables,|
|00002000| 20 61 6e 64 20 4c 69 73 | 74 69 6e 67 73 0d 50 72 | and Lis|tings.Pr|
|00002010| 65 66 61 63 65 09 41 62 | 6f 75 74 20 54 68 69 73 |eface.Ab|out This|
|00002020| 20 42 6f 6f 6b 14 14 69 | 78 0d 0d 46 69 67 75 72 | Book..i|x..Figur|
|00002030| 65 20 50 2d 31 09 36 38 | 30 78 30 20 62 69 74 20 |e P-1.68|0x0 bit |
|00002040| 6e 75 6d 62 65 72 69 6e | 67 14 14 78 69 69 69 0d |numberin|g..xiii.|
|00002050| 46 69 67 75 72 65 20 50 | 2d 32 09 50 6f 77 65 72 |Figure P|-2.Power|
|00002060| 50 43 20 62 69 74 20 6e | 75 6d 62 65 72 69 6e 67 |PC bit n|umbering|
|00002070| 14 14 78 69 69 69 0d 54 | 61 62 6c 65 20 50 2d 31 |..xiii.T|able P-1|
|00002080| 09 53 69 7a 65 73 20 6f | 66 20 6d 65 6d 6f 72 79 |.Sizes o|f memory|
|00002090| 20 6f 70 65 72 61 6e 64 | 73 14 14 78 69 69 69 0d | operand|s..xiii.|
|000020a0| 43 68 61 70 74 65 72 20 | 31 09 49 6e 74 72 6f 64 |Chapter |1.Introd|
|000020b0| 75 63 74 69 6f 6e 20 74 | 6f 20 50 6f 77 65 72 50 |uction t|o PowerP|
|000020c0| 43 20 53 79 73 74 65 6d | 20 53 6f 66 74 77 61 72 |C System| Softwar|
|000020d0| 65 14 14 31 2d 31 0d 0d | 46 69 67 75 72 65 20 31 |e..1-1..|Figure 1|
|000020e0| 2d 31 09 54 68 65 20 73 | 79 73 74 65 6d 20 73 6f |-1.The s|ystem so|
|000020f0| 66 74 77 61 72 65 20 66 | 6f 72 20 50 6f 77 65 72 |ftware f|or Power|
|00002100| 50 43 20 70 72 6f 63 65 | 73 73 6f 72 2d 62 61 73 |PC proce|ssor-bas|
|00002110| 65 64 20 4d 61 63 69 6e | 74 6f 73 68 20 63 6f 6d |ed Macin|tosh com|
|00002120| 70 75 74 65 72 73 14 14 | 31 2d 35 0d 46 69 67 75 |puters..|1-5.Figu|
|00002130| 72 65 20 31 2d 32 09 43 | 72 65 61 74 69 6e 67 20 |re 1-2.C|reating |
|00002140| 69 6d 70 6f 72 74 73 20 | 69 6e 20 61 20 66 72 61 |imports |in a fra|
|00002150| 67 6d 65 6e 74 14 14 31 | 2d 32 34 0d 46 69 67 75 |gment..1|-24.Figu|
|00002160| 72 65 20 31 2d 33 09 41 | 20 74 72 61 6e 73 69 74 |re 1-3.A| transit|
|00002170| 69 6f 6e 20 76 65 63 74 | 6f 72 14 14 31 2d 32 37 |ion vect|or..1-27|
|00002180| 0d 46 69 67 75 72 65 20 | 31 2d 34 09 54 68 65 20 |.Figure |1-4.The |
|00002190| 73 74 72 75 63 74 75 72 | 65 20 6f 66 20 61 20 50 |structur|e of a P|
|000021a0| 6f 77 65 72 50 43 20 61 | 70 70 6c 69 63 61 74 69 |owerPC a|pplicati|
|000021b0| 6f 6e 14 14 31 2d 33 31 | 0d 46 69 67 75 72 65 20 |on..1-31|.Figure |
|000021c0| 31 2d 35 09 54 68 65 20 | 73 74 72 75 63 74 75 72 |1-5.The |structur|
|000021d0| 65 20 6f 66 20 61 20 36 | 38 30 78 30 20 61 70 70 |e of a 6|80x0 app|
|000021e0| 6c 69 63 61 74 69 6f 6e | 14 14 31 2d 33 32 0d 46 |lication|..1-32.F|
|000021f0| 69 67 75 72 65 20 31 2d | 36 09 54 68 65 20 73 74 |igure 1-|6.The st|
|00002200| 72 75 63 74 75 72 65 20 | 6f 66 20 61 20 66 61 74 |ructure |of a fat|
|00002210| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 14 14 31 2d | applica|tion..1-|
|00002220| 33 33 0d 46 69 67 75 72 | 65 20 31 2d 37 09 54 68 |33.Figur|e 1-7.Th|
|00002230| 65 20 73 74 72 75 63 74 | 75 72 65 20 6f 66 20 61 |e struct|ure of a|
|00002240| 6e 20 61 63 63 65 6c 65 | 72 61 74 65 64 20 72 65 |n accele|rated re|
|00002250| 73 6f 75 72 63 65 14 14 | 31 2d 33 35 0d 46 69 67 |source..|1-35.Fig|
|00002260| 75 72 65 20 31 2d 38 09 | 54 68 65 20 73 74 72 75 |ure 1-8.|The stru|
|00002270| 63 74 75 72 65 20 6f 66 | 20 61 20 70 72 69 76 61 |cture of| a priva|
|00002280| 74 65 20 72 65 73 6f 75 | 72 63 65 14 14 31 2d 33 |te resou|rce..1-3|
|00002290| 36 0d 46 69 67 75 72 65 | 20 31 2d 39 09 41 20 36 |6.Figure| 1-9.A 6|
|000022a0| 38 30 78 30 20 73 74 61 | 63 6b 20 66 72 61 6d 65 |80x0 sta|ck frame|
|000022b0| 14 14 31 2d 34 32 0d 46 | 69 67 75 72 65 20 31 2d |..1-42.F|igure 1-|
|000022c0| 31 30 09 54 68 65 20 50 | 6f 77 65 72 50 43 20 73 |10.The P|owerPC s|
|000022d0| 74 61 63 6b 14 14 31 2d | 34 34 0d 46 69 67 75 72 |tack..1-|44.Figur|
|000022e0| 65 20 31 2d 31 31 09 54 | 68 65 20 73 74 72 75 63 |e 1-11.T|he struc|
|000022f0| 74 75 72 65 20 6f 66 20 | 61 20 73 74 61 63 6b 20 |ture of |a stack |
|00002300| 66 72 61 6d 65 d5 73 20 | 6c 69 6e 6b 61 67 65 20 |frame.s |linkage |
|00002310| 61 72 65 61 14 14 31 2d | 34 35 0d 46 69 67 75 72 |area..1-|45.Figur|
|00002320| 65 20 31 2d 31 32 09 54 | 68 65 20 52 65 64 20 5a |e 1-12.T|he Red Z|
|00002330| 6f 6e 65 14 14 31 2d 34 | 36 0d 46 69 67 75 72 65 |one..1-4|6.Figure|
|00002340| 20 31 2d 31 33 09 54 68 | 65 20 6f 72 67 61 6e 69 | 1-13.Th|e organi|
|00002350| 7a 61 74 69 6f 6e 20 6f | 66 20 74 68 65 20 70 61 |zation o|f the pa|
|00002360| 72 61 6d 65 74 65 72 20 | 61 72 65 61 20 6f 6e 20 |rameter |area on |
|00002370| 74 68 65 20 73 74 61 63 | 6b 14 14 31 2d 34 39 0d |the stac|k..1-49.|
|00002380| 46 69 67 75 72 65 20 31 | 2d 31 34 09 4f 72 67 61 |Figure 1|-14.Orga|
|00002390| 6e 69 7a 61 74 69 6f 6e | 20 6f 66 20 6d 65 6d 6f |nization| of memo|
|000023a0| 72 79 20 77 68 65 6e 20 | 76 69 72 74 75 61 6c 20 |ry when |virtual |
|000023b0| 6d 65 6d 6f 72 79 20 69 | 73 20 65 6e 61 62 6c 65 |memory i|s enable|
|000023c0| 64 14 14 31 2d 35 34 0d | 46 69 67 75 72 65 20 31 |d..1-54.|Figure 1|
|000023d0| 2d 31 35 09 4f 72 67 61 | 6e 69 7a 61 74 69 6f 6e |-15.Orga|nization|
|000023e0| 20 6f 66 20 6d 65 6d 6f | 72 79 20 77 68 65 6e 20 | of memo|ry when |
|000023f0| 76 69 72 74 75 61 6c 20 | 6d 65 6d 6f 72 79 20 69 |virtual |memory i|
|00002400| 73 20 6e 6f 74 20 65 6e | 61 62 6c 65 64 14 14 31 |s not en|abled..1|
|00002410| 2d 35 36 0d 46 69 67 75 | 72 65 20 31 2d 31 36 09 |-56.Figu|re 1-16.|
|00002420| 54 68 65 20 73 74 72 75 | 63 74 75 72 65 20 6f 66 |The stru|cture of|
|00002430| 20 61 20 50 6f 77 65 72 | 50 43 20 61 70 70 6c 69 | a Power|PC appli|
|00002440| 63 61 74 69 6f 6e 20 70 | 61 72 74 69 74 69 6f 6e |cation p|artition|
|00002450| 14 14 31 2d 36 30 0d 46 | 69 67 75 72 65 20 31 2d |..1-60.F|igure 1-|
|00002460| 31 37 09 54 68 65 20 4d | 65 6d 6f 72 79 20 63 6f |17.The M|emory co|
|00002470| 6e 74 72 6f 6c 20 70 61 | 6e 65 6c 20 66 6f 72 20 |ntrol pa|nel for |
|00002480| 50 6f 77 65 72 50 43 20 | 70 72 6f 63 65 73 73 6f |PowerPC |processo|
|00002490| 72 2d 62 61 73 65 64 20 | 4d 61 63 69 6e 74 6f 73 |r-based |Macintos|
|000024a0| 68 20 63 6f 6d 70 75 74 | 65 72 73 14 14 31 2d 36 |h comput|ers..1-6|
|000024b0| 39 0d 4c 69 73 74 69 6e | 67 20 31 2d 31 09 43 72 |9.Listin|g 1-1.Cr|
|000024c0| 65 61 74 69 6e 67 20 61 | 20 72 6f 75 74 69 6e 65 |eating a| routine|
|000024d0| 20 64 65 73 63 72 69 70 | 74 6f 72 14 14 31 2d 31 | descrip|tor..1-1|
|000024e0| 37 0d 4c 69 73 74 69 6e | 67 20 31 2d 32 09 54 68 |7.Listin|g 1-2.Th|
|000024f0| 65 20 64 65 66 69 6e 69 | 74 69 6f 6e 20 6f 66 20 |e defini|tion of |
|00002500| 74 68 65 20 4e 65 77 43 | 6f 6e 74 72 6f 6c 41 63 |the NewC|ontrolAc|
|00002510| 74 69 6f 6e 50 72 6f 63 | 20 72 6f 75 74 69 6e 65 |tionProc| routine|
|00002520| 14 14 31 2d 31 38 0d 4c | 69 73 74 69 6e 67 20 31 |..1-18.L|isting 1|
|00002530| 2d 33 09 43 72 65 61 74 | 69 6e 67 20 61 20 72 6f |-3.Creat|ing a ro|
|00002540| 75 74 69 6e 65 20 64 65 | 73 63 72 69 70 74 6f 72 |utine de|scriptor|
|00002550| 20 66 6f 72 20 61 20 63 | 6f 6e 74 72 6f 6c 20 61 | for a c|ontrol a|
|00002560| 63 74 69 6f 6e 20 70 72 | 6f 63 65 64 75 72 65 14 |ction pr|ocedure.|
|00002570| 14 31 2d 31 39 0d 4c 69 | 73 74 69 6e 67 20 31 2d |.1-19.Li|sting 1-|
|00002580| 34 09 54 65 73 74 69 6e | 67 20 66 6f 72 20 75 6e |4.Testin|g for un|
|00002590| 72 65 73 6f 6c 76 65 64 | 20 73 6f 66 74 20 69 6d |resolved| soft im|
|000025a0| 70 6f 72 74 73 14 14 31 | 2d 32 35 0d 4c 69 73 74 |ports..1|-25.List|
|000025b0| 69 6e 67 20 31 2d 35 09 | 54 68 65 20 52 65 7a 20 |ing 1-5.|The Rez |
|000025c0| 69 6e 70 75 74 20 66 6f | 72 20 61 20 73 61 6d 70 |input fo|r a samp|
|000025d0| 6c 65 20 27 63 66 72 67 | 27 20 72 65 73 6f 75 72 |le 'cfrg|' resour|
|000025e0| 63 65 14 14 31 2d 33 32 | 0d 4c 69 73 74 69 6e 67 |ce..1-32|.Listing|
|000025f0| 20 31 2d 36 09 52 65 7a | 20 69 6e 70 75 74 20 66 | 1-6.Rez| input f|
|00002600| 6f 72 20 61 20 6c 69 73 | 74 20 64 65 66 69 6e 69 |or a lis|t defini|
|00002610| 74 69 6f 6e 20 70 72 6f | 63 65 64 75 72 65 20 73 |tion pro|cedure s|
|00002620| 74 75 62 14 14 31 2d 33 | 35 0d 4c 69 73 74 69 6e |tub..1-3|5.Listin|
|00002630| 67 20 31 2d 37 09 55 73 | 69 6e 67 20 61 6e 20 61 |g 1-7.Us|ing an a|
|00002640| 63 63 65 6c 65 72 61 74 | 65 64 20 72 65 73 6f 75 |ccelerat|ed resou|
|00002650| 72 63 65 14 14 31 2d 33 | 37 0d 4c 69 73 74 69 6e |rce..1-3|7.Listin|
|00002660| 67 20 31 2d 38 09 53 6f | 6d 65 20 61 63 63 65 70 |g 1-8.So|me accep|
|00002670| 74 61 62 6c 65 20 67 6c | 6f 62 61 6c 20 64 65 63 |table gl|obal dec|
|00002680| 6c 61 72 61 74 69 6f 6e | 73 20 69 6e 20 61 6e 20 |laration|s in an |
|00002690| 61 63 63 65 6c 65 72 61 | 74 65 64 20 72 65 73 6f |accelera|ted reso|
|000026a0| 75 72 63 65 14 14 31 2d | 33 39 0d 4c 69 73 74 69 |urce..1-|39.Listi|
|000026b0| 6e 67 20 31 2d 39 09 53 | 6f 6d 65 20 75 6e 61 63 |ng 1-9.S|ome unac|
|000026c0| 63 65 70 74 61 62 6c 65 | 20 67 6c 6f 62 61 6c 20 |ceptable| global |
|000026d0| 64 65 63 6c 61 72 61 74 | 69 6f 6e 73 20 61 6e 64 |declarat|ions and|
|000026e0| 20 63 6f 64 65 20 69 6e | 20 61 6e 20 61 63 63 65 | code in| an acce|
|000026f0| 6c 65 72 61 74 65 64 20 | 72 65 73 6f 75 72 63 65 |lerated |resource|
|00002700| 14 14 31 2d 33 39 0d 4c | 69 73 74 69 6e 67 20 31 |..1-39.L|isting 1|
|00002710| 2d 31 30 09 55 73 69 6e | 67 20 61 20 70 72 69 76 |-10.Usin|g a priv|
|00002720| 61 74 65 20 72 65 73 6f | 75 72 63 65 14 14 31 2d |ate reso|urce..1-|
|00002730| 34 30 0d 4c 69 73 74 69 | 6e 67 20 31 2d 31 31 09 |40.Listi|ng 1-11.|
|00002740| 44 65 63 6c 61 72 69 6e | 67 20 61 6e 20 61 70 70 |Declarin|g an app|
|00002750| 6c 69 63 61 74 69 6f 6e | d5 73 20 51 75 69 63 6b |lication|.s Quick|
|00002760| 44 72 61 77 20 67 6c 6f | 62 61 6c 20 76 61 72 69 |Draw glo|bal vari|
|00002770| 61 62 6c 65 73 14 14 31 | 2d 35 39 0d 4c 69 73 74 |ables..1|-59.List|
|00002780| 69 6e 67 20 31 2d 31 32 | 09 41 20 73 61 6d 70 6c |ing 1-12|.A sampl|
|00002790| 65 20 36 38 30 78 30 20 | 56 42 4c 20 74 61 73 6b |e 680x0 |VBL task|
|000027a0| 20 64 65 66 69 6e 69 74 | 69 6f 6e 14 14 31 2d 36 | definit|ion..1-6|
|000027b0| 31 0d 4c 69 73 74 69 6e | 67 20 31 2d 31 33 09 41 |1.Listin|g 1-13.A|
|000027c0| 20 63 6f 6e 64 69 74 69 | 6f 6e 61 6c 69 7a 65 64 | conditi|onalized|
|000027d0| 20 56 42 4c 20 74 61 73 | 6b 20 64 65 66 69 6e 69 | VBL tas|k defini|
|000027e0| 74 69 6f 6e 14 14 31 2d | 36 32 0d 4c 69 73 74 69 |tion..1-|62.Listi|
|000027f0| 6e 67 20 31 2d 31 34 09 | 50 61 74 63 68 69 6e 67 |ng 1-14.|Patching|
|00002800| 20 61 6e 20 4f 70 65 72 | 61 74 69 6e 67 20 53 79 | an Oper|ating Sy|
|00002810| 73 74 65 6d 20 74 72 61 | 70 14 14 31 2d 36 37 0d |stem tra|p..1-67.|
|00002820| 4c 69 73 74 69 6e 67 20 | 31 2d 31 35 09 57 61 69 |Listing |1-15.Wai|
|00002830| 74 69 6e 67 20 74 6f 20 | 63 61 6c 6c 20 74 68 65 |ting to |call the|
|00002840| 20 57 61 69 74 4e 65 78 | 74 45 76 65 6e 74 20 66 | WaitNex|tEvent f|
|00002850| 75 6e 63 74 69 6f 6e 14 | 14 31 2d 37 32 0d 43 68 |unction.|.1-72.Ch|
|00002860| 61 70 74 65 72 20 32 09 | 4d 69 78 65 64 20 4d 6f |apter 2.|Mixed Mo|
|00002870| 64 65 20 4d 61 6e 61 67 | 65 72 14 14 32 2d 31 0d |de Manag|er..2-1.|
|00002880| 0d 46 69 67 75 72 65 20 | 32 2d 31 09 36 38 30 78 |.Figure |2-1.680x|
|00002890| 30 20 61 6e 64 20 50 6f | 77 65 72 50 43 20 70 72 |0 and Po|werPC pr|
|000028a0| 6f 63 65 64 75 72 65 20 | 70 6f 69 6e 74 65 72 73 |ocedure |pointers|
|000028b0| 14 14 32 2d 35 0d 46 69 | 67 75 72 65 20 32 2d 32 |..2-5.Fi|gure 2-2|
|000028c0| 09 43 61 6c 6c 69 6e 67 | 20 50 6f 77 65 72 50 43 |.Calling| PowerPC|
|000028d0| 20 63 6f 64 65 20 66 72 | 6f 6d 20 61 20 36 38 30 | code fr|om a 680|
|000028e0| 78 30 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 14 14 |x0 appli|cation..|
|000028f0| 32 2d 39 0d 46 69 67 75 | 72 65 20 32 2d 33 09 54 |2-9.Figu|re 2-3.T|
|00002900| 68 65 20 73 74 61 63 6b | 20 62 65 66 6f 72 65 20 |he stack| before |
|00002910| 61 20 6d 6f 64 65 20 73 | 77 69 74 63 68 14 14 32 |a mode s|witch..2|
|00002920| 2d 31 30 0d 46 69 67 75 | 72 65 20 32 2d 34 09 41 |-10.Figu|re 2-4.A|
|00002930| 20 36 38 30 78 30 2d 74 | 6f 2d 50 6f 77 65 72 50 | 680x0-t|o-PowerP|
|00002940| 43 20 73 77 69 74 63 68 | 20 66 72 61 6d 65 14 14 |C switch| frame..|
|00002950| 32 2d 31 31 0d 46 69 67 | 75 72 65 20 32 2d 35 09 |2-11.Fig|ure 2-5.|
|00002960| 41 20 50 6f 77 65 72 50 | 43 2d 74 6f 2d 36 38 30 |A PowerP|C-to-680|
|00002970| 78 30 20 73 77 69 74 63 | 68 20 66 72 61 6d 65 14 |x0 switc|h frame.|
|00002980| 14 32 2d 31 33 0d 46 69 | 67 75 72 65 20 32 2d 36 |.2-13.Fi|gure 2-6|
|00002990| 09 50 72 6f 63 65 64 75 | 72 65 20 69 6e 66 6f 72 |.Procedu|re infor|
|000029a0| 6d 61 74 69 6f 6e 20 66 | 6f 72 20 61 20 73 74 61 |mation f|or a sta|
|000029b0| 63 6b 2d 62 61 73 65 64 | 20 72 6f 75 74 69 6e 65 |ck-based| routine|
|000029c0| 14 14 32 2d 31 37 0d 46 | 69 67 75 72 65 20 32 2d |..2-17.F|igure 2-|
|000029d0| 37 09 50 72 6f 63 65 64 | 75 72 65 20 69 6e 66 6f |7.Proced|ure info|
|000029e0| 72 6d 61 74 69 6f 6e 20 | 66 6f 72 20 61 20 72 65 |rmation |for a re|
|000029f0| 67 69 73 74 65 72 2d 62 | 61 73 65 64 20 72 6f 75 |gister-b|ased rou|
|00002a00| 74 69 6e 65 14 14 32 2d | 31 39 0d 46 69 67 75 72 |tine..2-|19.Figur|
|00002a10| 65 20 32 2d 38 09 47 65 | 6e 65 72 61 6c 20 73 74 |e 2-8.Ge|neral st|
|00002a20| 72 75 63 74 75 72 65 20 | 6f 66 20 61 6e 20 65 78 |ructure |of an ex|
|00002a30| 65 63 75 74 61 62 6c 65 | 20 63 6f 64 65 20 72 65 |ecutable| code re|
|00002a40| 73 6f 75 72 63 65 14 14 | 32 2d 32 35 0d 46 69 67 |source..|2-25.Fig|
|00002a50| 75 72 65 20 32 2d 39 09 | 47 65 6e 65 72 61 6c 20 |ure 2-9.|General |
|00002a60| 73 74 72 75 63 74 75 72 | 65 20 6f 66 20 61 20 66 |structur|e of a f|
|00002a70| 61 74 20 72 65 73 6f 75 | 72 63 65 14 14 32 2d 32 |at resou|rce..2-2|
|00002a80| 36 0d 54 61 62 6c 65 20 | 32 2d 31 09 4c 69 6d 69 |6.Table |2-1.Limi|
|00002a90| 74 73 20 6f 6e 20 74 68 | 65 20 6e 75 6d 62 65 72 |ts on th|e number|
|00002aa0| 20 6f 66 20 73 70 65 63 | 69 66 69 61 62 6c 65 20 | of spec|ifiable |
|00002ab0| 70 61 72 61 6d 65 74 65 | 72 73 20 69 6e 20 61 20 |paramete|rs in a |
|00002ac0| 70 72 6f 63 65 64 75 72 | 65 20 69 6e 66 6f 72 6d |procedur|e inform|
|00002ad0| 61 74 69 6f 6e 14 14 32 | 2d 32 30 0d 4c 69 73 74 |ation..2|-20.List|
|00002ae0| 69 6e 67 20 32 2d 31 09 | 53 61 6d 70 6c 65 20 67 |ing 2-1.|Sample g|
|00002af0| 6c 75 65 20 63 6f 64 65 | 20 66 6f 72 20 61 20 36 |lue code| for a 6|
|00002b00| 38 30 78 30 20 72 6f 75 | 74 69 6e 65 14 14 32 2d |80x0 rou|tine..2-|
|00002b10| 31 32 0d 4c 69 73 74 69 | 6e 67 20 32 2d 32 09 43 |12.Listi|ng 2-2.C|
|00002b20| 72 65 61 74 69 6e 67 20 | 67 6c 6f 62 61 6c 20 72 |reating |global r|
|00002b30| 6f 75 74 69 6e 65 20 64 | 65 73 63 72 69 70 74 6f |outine d|escripto|
|00002b40| 72 73 14 14 32 2d 32 31 | 0d 4c 69 73 74 69 6e 67 |rs..2-21|.Listing|
|00002b50| 20 32 2d 33 09 43 72 65 | 61 74 69 6e 67 20 6c 6f | 2-3.Cre|ating lo|
|00002b60| 63 61 6c 20 72 6f 75 74 | 69 6e 65 20 64 65 73 63 |cal rout|ine desc|
|00002b70| 72 69 70 74 6f 72 73 14 | 14 32 2d 32 32 0d 4c 69 |riptors.|.2-22.Li|
|00002b80| 73 74 69 6e 67 20 32 2d | 34 09 43 72 65 61 74 69 |sting 2-|4.Creati|
|00002b90| 6e 67 20 73 74 61 74 69 | 63 20 72 6f 75 74 69 6e |ng stati|c routin|
|00002ba0| 65 20 64 65 73 63 72 69 | 70 74 6f 72 73 14 14 32 |e descri|ptors..2|
|00002bb0| 2d 32 33 0d 4c 69 73 74 | 69 6e 67 20 32 2d 35 09 |-23.List|ing 2-5.|
|00002bc0| 42 75 69 6c 64 69 6e 67 | 20 61 20 73 74 61 74 69 |Building| a stati|
|00002bd0| 63 20 72 6f 75 74 69 6e | 65 20 64 65 73 63 72 69 |c routin|e descri|
|00002be0| 70 74 6f 72 14 14 32 2d | 32 33 0d 43 68 61 70 74 |ptor..2-|23.Chapt|
|00002bf0| 65 72 20 33 09 43 6f 64 | 65 20 46 72 61 67 6d 65 |er 3.Cod|e Fragme|
|00002c00| 6e 74 20 4d 61 6e 61 67 | 65 72 14 14 33 2d 31 0d |nt Manag|er..3-1.|
|00002c10| 0d 46 69 67 75 72 65 20 | 33 2d 31 09 53 74 72 75 |.Figure |3-1.Stru|
|00002c20| 63 74 75 72 65 20 6f 66 | 20 61 20 63 6f 6d 70 69 |cture of| a compi|
|00002c30| 6c 65 64 20 63 6f 64 65 | 20 66 72 61 67 6d 65 6e |led code| fragmen|
|00002c40| 74 20 28 27 63 66 72 67 | 27 29 20 72 65 73 6f 75 |t ('cfrg|') resou|
|00002c50| 72 63 65 14 14 33 2d 32 | 39 0d 46 69 67 75 72 65 |rce..3-2|9.Figure|
|00002c60| 20 33 2d 32 09 54 68 65 | 20 66 6f 72 6d 61 74 20 | 3-2.The| format |
|00002c70| 6f 66 20 61 20 63 6f 64 | 65 20 66 72 61 67 6d 65 |of a cod|e fragme|
|00002c80| 6e 74 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 72 |nt infor|mation r|
|00002c90| 65 63 6f 72 64 14 14 33 | 2d 33 30 0d 4c 69 73 74 |ecord..3|-30.List|
|00002ca0| 69 6e 67 20 33 2d 31 09 | 50 73 65 75 64 6f 63 6f |ing 3-1.|Pseudoco|
|00002cb0| 64 65 20 66 6f 72 20 74 | 68 65 20 76 65 72 73 69 |de for t|he versi|
|00002cc0| 6f 6e 2d 63 68 65 63 6b | 69 6e 67 20 61 6c 67 6f |on-check|ing algo|
|00002cd0| 72 69 74 68 6d 14 14 33 | 2d 39 0d 4c 69 73 74 69 |rithm..3|-9.Listi|
|00002ce0| 6e 67 20 33 2d 32 09 4c | 6f 61 64 69 6e 67 20 61 |ng 3-2.L|oading a|
|00002cf0| 20 72 65 73 6f 75 72 63 | 65 2d 62 61 73 65 64 20 | resourc|e-based |
|00002d00| 66 72 61 67 6d 65 6e 74 | 14 14 33 2d 31 31 0d 4c |fragment|..3-11.L|
|00002d10| 69 73 74 69 6e 67 20 33 | 2d 33 09 4c 6f 61 64 69 |isting 3|-3.Loadi|
|00002d20| 6e 67 20 61 20 64 69 73 | 6b 2d 62 61 73 65 64 20 |ng a dis|k-based |
|00002d30| 66 72 61 67 6d 65 6e 74 | 14 14 33 2d 31 31 0d 4c |fragment|..3-11.L|
|00002d40| 69 73 74 69 6e 67 20 33 | 2d 34 09 54 68 65 20 52 |isting 3|-4.The R|
|00002d50| 65 7a 20 69 6e 70 75 74 | 20 66 6f 72 20 61 20 74 |ez input| for a t|
|00002d60| 79 70 69 63 61 6c 20 61 | 70 70 6c 69 63 61 74 69 |ypical a|pplicati|
|00002d70| 6f 6e d5 73 20 27 63 66 | 72 67 27 20 72 65 73 6f |on.s 'cf|rg' reso|
|00002d80| 75 72 63 65 14 14 33 2d | 31 32 0d 4c 69 73 74 69 |urce..3-|12.Listi|
|00002d90| 6e 67 20 33 2d 35 09 54 | 68 65 20 52 65 7a 20 69 |ng 3-5.T|he Rez i|
|00002da0| 6e 70 75 74 20 66 6f 72 | 20 61 20 74 79 70 69 63 |nput for| a typic|
|00002db0| 61 6c 20 69 6d 70 6f 72 | 74 20 6c 69 62 72 61 72 |al impor|t librar|
|00002dc0| 79 d5 73 20 27 63 66 72 | 67 27 20 72 65 73 6f 75 |y.s 'cfr|g' resou|
|00002dd0| 72 63 65 14 14 33 2d 31 | 33 0d 4c 69 73 74 69 6e |rce..3-1|3.Listin|
|00002de0| 67 20 33 2d 36 09 46 69 | 6e 64 69 6e 67 20 73 79 |g 3-6.Fi|nding sy|
|00002df0| 6d 62 6f 6c 20 6e 61 6d | 65 73 14 14 33 2d 31 34 |mbol nam|es..3-14|
|00002e00| 0d 43 68 61 70 74 65 72 | 20 34 09 45 78 63 65 70 |.Chapter| 4.Excep|
|00002e10| 74 69 6f 6e 20 4d 61 6e | 61 67 65 72 14 14 34 2d |tion Man|ager..4-|
|00002e20| 31 0d 0d 4c 69 73 74 69 | 6e 67 20 34 2d 31 09 49 |1..Listi|ng 4-1.I|
|00002e30| 6e 73 74 61 6c 6c 69 6e | 67 20 61 6e 20 65 78 63 |nstallin|g an exc|
|00002e40| 65 70 74 69 6f 6e 20 68 | 61 6e 64 6c 65 72 14 14 |eption h|andler..|
|00002e50| 34 2d 36 0d 4c 69 73 74 | 69 6e 67 20 34 2d 32 09 |4-6.List|ing 4-2.|
|00002e60| 41 20 6e 61 74 69 76 65 | 20 65 78 63 65 70 74 69 |A native| excepti|
|00002e70| 6f 6e 20 68 61 6e 64 6c | 65 72 14 14 34 2d 38 0d |on handl|er..4-8.|
|00002e80| 41 62 6f 75 74 20 54 68 | 69 73 20 42 6f 6f 6b 0d |About Th|is Book.|
|00002e90| 0d 0d 54 68 69 73 20 62 | 6f 6f 6b 2c 20 49 6e 73 |..This b|ook, Ins|
|00002ea0| 69 64 65 20 4d 61 63 69 | 6e 74 6f 73 68 3a 20 50 |ide Maci|ntosh: P|
|00002eb0| 6f 77 65 72 50 43 20 53 | 79 73 74 65 6d 20 53 6f |owerPC S|ystem So|
|00002ec0| 66 74 77 61 72 65 2c 20 | 64 65 73 63 72 69 62 65 |ftware, |describe|
|00002ed0| 73 20 74 68 65 20 6e 65 | 77 20 70 72 6f 63 65 73 |s the ne|w proces|
|00002ee0| 73 20 65 78 65 63 75 74 | 69 6f 6e 20 65 6e 76 69 |s execut|ion envi|
|00002ef0| 72 6f 6e 6d 65 6e 74 20 | 61 6e 64 20 73 79 73 74 |ronment |and syst|
|00002f00| 65 6d 20 73 6f 66 74 77 | 61 72 65 20 73 65 72 76 |em softw|are serv|
|00002f10| 69 63 65 73 20 70 72 6f | 76 69 64 65 64 20 77 69 |ices pro|vided wi|
|00002f20| 74 68 20 74 68 65 20 66 | 69 72 73 74 20 76 65 72 |th the f|irst ver|
|00002f30| 73 69 6f 6e 20 6f 66 20 | 74 68 65 20 73 79 73 74 |sion of |the syst|
|00002f40| 65 6d 20 73 6f 66 74 77 | 61 72 65 20 66 6f 72 20 |em softw|are for |
|00002f50| 4d 61 63 69 6e 74 6f 73 | 68 20 6f 6e 20 50 6f 77 |Macintos|h on Pow|
|00002f60| 65 72 50 43 20 63 6f 6d | 70 75 74 65 72 73 2e 20 |erPC com|puters. |
|00002f70| 49 74 20 63 6f 6e 74 61 | 69 6e 73 20 69 6e 66 6f |It conta|ins info|
|00002f80| 72 6d 61 74 69 6f 6e 20 | 79 6f 75 20 6e 65 65 64 |rmation |you need|
|00002f90| 20 74 6f 20 6b 6e 6f 77 | 20 74 6f 20 77 72 69 74 | to know| to writ|
|00002fa0| 65 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 73 20 61 |e applic|ations a|
|00002fb0| 6e 64 20 6f 74 68 65 72 | 20 73 6f 66 74 77 61 72 |nd other| softwar|
|00002fc0| 65 20 74 68 61 74 20 63 | 61 6e 20 72 75 6e 20 6f |e that c|an run o|
|00002fd0| 6e 20 50 6f 77 65 72 50 | 43 20 70 72 6f 63 65 73 |n PowerP|C proces|
|00002fe0| 73 6f 72 2d 62 61 73 65 | 64 20 4d 61 63 69 6e 74 |sor-base|d Macint|
|00002ff0| 6f 73 68 20 63 6f 6d 70 | 75 74 65 72 73 2e 0d 54 |osh comp|uters..T|
|00003000| 68 65 20 66 69 72 73 74 | 20 72 65 6c 65 61 73 65 |he first| release|
|00003010| 20 6f 66 20 74 68 65 20 | 73 79 73 74 65 6d 20 73 | of the |system s|
|00003020| 6f 66 74 77 61 72 65 20 | 66 6f 72 20 4d 61 63 69 |oftware |for Maci|
|00003030| 6e 74 6f 73 68 20 6f 6e | 20 50 6f 77 65 72 50 43 |ntosh on| PowerPC|
|00003040| 20 63 6f 6d 70 75 74 65 | 72 73 20 70 72 6f 76 69 | compute|rs provi|
|00003050| 64 65 73 20 61 20 6d 69 | 78 65 64 20 6f 72 20 68 |des a mi|xed or h|
|00003060| 79 62 72 69 64 20 65 6e | 76 69 72 6f 6e 6d 65 6e |ybrid en|vironmen|
|00003070| 74 3a 20 74 68 65 20 73 | 79 73 74 65 6d 20 73 6f |t: the s|ystem so|
|00003080| 66 74 77 61 72 65 20 70 | 72 6f 76 69 64 65 73 20 |ftware p|rovides |
|00003090| 74 68 65 20 61 62 69 6c | 69 74 79 20 74 6f 20 65 |the abil|ity to e|
|000030a0| 78 65 63 75 74 65 20 62 | 6f 74 68 20 61 70 70 6c |xecute b|oth appl|
|000030b0| 69 63 61 74 69 6f 6e 73 | 20 74 68 61 74 20 75 73 |ications| that us|
|000030c0| 65 20 74 68 65 20 6e 61 | 74 69 76 65 20 69 6e 73 |e the na|tive ins|
|000030d0| 74 72 75 63 74 69 6f 6e | 20 73 65 74 20 6f 66 20 |truction| set of |
|000030e0| 74 68 65 20 50 6f 77 65 | 72 50 43 20 6d 69 63 72 |the Powe|rPC micr|
|000030f0| 6f 70 72 6f 63 65 73 73 | 6f 72 20 61 6e 64 20 61 |oprocess|or and a|
|00003100| 70 70 6c 69 63 61 74 69 | 6f 6e 73 20 74 68 61 74 |pplicati|ons that|
|00003110| 20 75 73 65 20 74 68 65 | 20 36 38 30 78 30 20 69 | use the| 680x0 i|
|00003120| 6e 73 74 72 75 63 74 69 | 6f 6e 20 73 65 74 2e 20 |nstructi|on set. |
|00003130| 49 74 20 61 63 63 6f 6d | 70 6c 69 73 68 65 73 20 |It accom|plishes |
|00003140| 74 68 69 73 20 62 79 20 | 70 72 6f 76 69 64 69 6e |this by |providin|
|00003150| 67 20 61 20 76 65 72 79 | 20 65 66 66 69 63 69 65 |g a very| efficie|
|00003160| 6e 74 20 36 38 4c 43 30 | 34 30 20 45 6d 75 6c 61 |nt 68LC0|40 Emula|
|00003170| 74 6f 72 20 74 68 61 74 | 20 65 6d 75 6c 61 74 65 |tor that| emulate|
|00003180| 73 20 36 38 30 78 30 20 | 69 6e 73 74 72 75 63 74 |s 680x0 |instruct|
|00003190| 69 6f 6e 73 20 77 69 74 | 68 20 50 6f 77 65 72 50 |ions wit|h PowerP|
|000031a0| 43 20 69 6e 73 74 72 75 | 63 74 69 6f 6e 73 2e 20 |C instru|ctions. |
|000031b0| 41 73 20 61 20 72 65 73 | 75 6c 74 2c 20 76 69 72 |As a res|ult, vir|
|000031c0| 74 75 61 6c 6c 79 20 61 | 6c 6c 20 65 78 69 73 74 |tually a|ll exist|
|000031d0| 69 6e 67 20 36 38 30 78 | 30 2d 62 61 73 65 64 20 |ing 680x|0-based |
|000031e0| 4d 61 63 69 6e 74 6f 73 | 68 20 61 70 70 6c 69 63 |Macintos|h applic|
|000031f0| 61 74 69 6f 6e 73 20 61 | 6e 64 20 6f 74 68 65 72 |ations a|nd other|
|00003200| 20 73 6f 66 74 77 61 72 | 65 20 6d 6f 64 75 6c 65 | softwar|e module|
|00003210| 73 20 74 68 61 74 20 63 | 6f 6e 66 6f 72 6d 20 74 |s that c|onform t|
|00003220| 6f 20 74 68 65 20 70 72 | 6f 67 72 61 6d 6d 69 6e |o the pr|ogrammin|
|00003230| 67 20 69 6e 74 65 72 66 | 61 63 65 73 20 61 6e 64 |g interf|aces and|
|00003240| 20 74 65 63 68 6e 69 71 | 75 65 73 20 64 6f 63 75 | techniq|ues docu|
|00003250| 6d 65 6e 74 65 64 20 69 | 6e 20 74 68 65 20 49 6e |mented i|n the In|
|00003260| 73 69 64 65 20 4d 61 63 | 69 6e 74 6f 73 68 20 73 |side Mac|intosh s|
|00003270| 75 69 74 65 20 6f 66 20 | 62 6f 6f 6b 73 20 77 69 |uite of |books wi|
|00003280| 6c 6c 20 65 78 65 63 75 | 74 65 20 77 69 74 68 6f |ll execu|te witho|
|00003290| 75 74 20 6d 6f 64 69 66 | 69 63 61 74 69 6f 6e 20 |ut modif|ication |
|000032a0| 6f 6e 20 50 6f 77 65 72 | 50 43 20 70 72 6f 63 65 |on Power|PC proce|
|000032b0| 73 73 6f 72 2d 62 61 73 | 65 64 20 4d 61 63 69 6e |ssor-bas|ed Macin|
|000032c0| 74 6f 73 68 20 63 6f 6d | 70 75 74 65 72 73 2e 0d |tosh com|puters..|
|000032d0| 54 6f 20 74 61 6b 65 20 | 6d 61 78 69 6d 75 6d 20 |To take |maximum |
|000032e0| 61 64 76 61 6e 74 61 67 | 65 20 6f 66 20 74 68 65 |advantag|e of the|
|000032f0| 20 6d 75 63 68 20 67 72 | 65 61 74 65 72 20 70 72 | much gr|eater pr|
|00003300| 6f 63 65 73 73 69 6e 67 | 20 73 70 65 65 64 20 6f |ocessing| speed o|
|00003310| 66 20 74 68 65 20 50 6f | 77 65 72 50 43 20 6d 69 |f the Po|werPC mi|
|00003320| 63 72 6f 70 72 6f 63 65 | 73 73 6f 72 2c 20 68 6f |croproce|ssor, ho|
|00003330| 77 65 76 65 72 2c 20 79 | 6f 75 d5 6c 6c 20 6e 65 |wever, y|ou.ll ne|
|00003340| 65 64 20 74 6f 20 72 65 | 63 6f 6d 70 69 6c 65 20 |ed to re|compile |
|00003350| 79 6f 75 72 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |your app|lication|
|00003360| d5 73 20 73 6f 75 72 63 | 65 20 63 6f 64 65 20 69 |.s sourc|e code i|
|00003370| 6e 74 6f 20 61 20 50 6f | 77 65 72 50 43 20 61 70 |nto a Po|werPC ap|
|00003380| 70 6c 69 63 61 74 69 6f | 6e 2e 20 41 70 70 6c 65 |plicatio|n. Apple|
|00003390| 20 43 6f 6d 70 75 74 65 | 72 2c 20 49 6e 63 2e 2c | Compute|r, Inc.,|
|000033a0| 20 70 72 6f 76 69 64 65 | 73 20 4d 50 57 2d 62 61 | provide|s MPW-ba|
|000033b0| 73 65 64 20 43 20 61 6e | 64 20 43 2b 2b 20 63 6f |sed C an|d C++ co|
|000033c0| 6d 70 69 6c 65 72 73 20 | 61 6e 64 20 6f 74 68 65 |mpilers |and othe|
|000033d0| 72 20 74 6f 6f 6c 73 20 | 74 68 61 74 20 79 6f 75 |r tools |that you|
|000033e0| 20 63 61 6e 20 75 73 65 | 20 74 6f 20 63 72 65 61 | can use| to crea|
|000033f0| 74 65 20 6e 61 74 69 76 | 65 20 50 6f 77 65 72 50 |te nativ|e PowerP|
|00003400| 43 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 73 2e 20 |C applic|ations. |
|00003410| 49 6e 20 67 65 6e 65 72 | 61 6c 2c 20 69 66 20 79 |In gener|al, if y|
|00003420| 6f 75 72 20 73 6f 75 72 | 63 65 20 63 6f 64 65 20 |our sour|ce code |
|00003430| 69 73 20 61 6c 72 65 61 | 64 79 20 63 6f 6d 70 6c |is alrea|dy compl|
|00003440| 69 61 6e 74 20 77 69 74 | 68 20 41 4e 53 49 20 43 |iant wit|h ANSI C|
|00003450| 20 73 74 61 6e 64 61 72 | 64 73 20 6f 72 20 74 68 | standar|ds or th|
|00003460| 65 20 64 65 20 66 61 63 | 74 6f 20 41 4e 53 49 20 |e de fac|to ANSI |
|00003470| 43 2b 2b 20 73 74 61 6e | 64 61 72 64 73 2c 20 79 |C++ stan|dards, y|
|00003480| 6f 75 20 73 68 6f 75 6c | 64 20 62 65 20 61 62 6c |ou shoul|d be abl|
|00003490| 65 2c 20 77 69 74 68 20 | 6d 6f 64 65 72 61 74 65 |e, with |moderate|
|000034a0| 6c 79 20 6c 69 74 74 6c | 65 20 65 66 66 6f 72 74 |ly littl|e effort|
|000034b0| 2c 20 74 6f 20 72 65 77 | 6f 72 6b 20 79 6f 75 72 |, to rew|ork your|
|000034c0| 20 73 6f 75 72 63 65 20 | 63 6f 64 65 20 73 6f 20 | source |code so |
|000034d0| 74 68 61 74 20 69 74 20 | 63 61 6e 20 62 65 20 63 |that it |can be c|
|000034e0| 6f 6d 70 69 6c 65 64 20 | 61 6e 64 20 62 75 69 6c |ompiled |and buil|
|000034f0| 74 20 75 73 69 6e 67 20 | 74 68 65 20 41 70 70 6c |t using |the Appl|
|00003500| 65 2d 73 75 70 70 6c 69 | 65 64 20 74 6f 6f 6c 73 |e-suppli|ed tools|
|00003510| 20 69 6e 74 6f 20 61 20 | 50 6f 77 65 72 50 43 20 | into a |PowerPC |
|00003520| 61 70 70 6c 69 63 61 74 | 69 6f 6e 2e 20 54 68 69 |applicat|ion. Thi|
|00003530| 73 20 62 6f 6f 6b 20 69 | 73 20 69 6e 74 65 6e 64 |s book i|s intend|
|00003540| 65 64 20 74 6f 20 70 72 | 6f 76 69 64 65 20 6d 75 |ed to pr|ovide mu|
|00003550| 63 68 20 6f 66 20 74 68 | 65 20 69 6e 66 6f 72 6d |ch of th|e inform|
|00003560| 61 74 69 6f 6e 20 79 6f | 75 20 6e 65 65 64 20 74 |ation yo|u need t|
|00003570| 6f 20 70 6f 72 74 20 79 | 6f 75 72 20 65 78 69 73 |o port y|our exis|
|00003580| 74 69 6e 67 20 36 38 30 | 78 30 20 61 70 70 6c 69 |ting 680|x0 appli|
|00003590| 63 61 74 69 6f 6e 20 28 | 6f 72 20 6f 74 68 65 72 |cation (|or other|
|000035a0| 20 73 6f 66 74 77 61 72 | 65 29 20 74 6f 20 74 68 | softwar|e) to th|
|000035b0| 65 20 50 6f 77 65 72 50 | 43 20 70 6c 61 74 66 6f |e PowerP|C platfo|
|000035c0| 72 6d 2e 0d 4e 6f 74 65 | 0d 54 68 65 72 65 20 77 |rm..Note|.There w|
|000035d0| 69 6c 6c 20 61 6c 73 6f | 20 62 65 20 74 68 69 72 |ill also| be thir|
|000035e0| 64 2d 70 61 72 74 79 20 | 63 6f 6d 70 69 6c 65 72 |d-party |compiler|
|000035f0| 73 20 61 6e 64 20 64 65 | 76 65 6c 6f 70 6d 65 6e |s and de|velopmen|
|00003600| 74 20 0d 65 6e 76 69 72 | 6f 6e 6d 65 6e 74 73 20 |t .envir|onments |
|00003610| 63 61 70 61 62 6c 65 20 | 6f 66 20 67 65 6e 65 72 |capable |of gener|
|00003620| 61 74 69 6e 67 20 50 6f | 77 65 72 50 43 20 63 6f |ating Po|werPC co|
|00003630| 64 65 2e 13 75 0d 41 6c | 74 68 6f 75 67 68 20 74 |de..u.Al|though t|
|00003640| 68 65 20 6e 61 74 69 76 | 65 20 72 75 6e 2d 74 69 |he nativ|e run-ti|
|00003650| 6d 65 20 65 78 65 63 75 | 74 69 6f 6e 20 65 6e 76 |me execu|tion env|
|00003660| 69 72 6f 6e 6d 65 6e 74 | 20 6f 66 20 74 68 65 20 |ironment| of the |
|00003670| 66 69 72 73 74 20 76 65 | 72 73 69 6f 6e 20 6f 66 |first ve|rsion of|
|00003680| 20 74 68 65 20 73 79 73 | 74 65 6d 20 73 6f 66 74 | the sys|tem soft|
|00003690| 77 61 72 65 20 66 6f 72 | 20 50 6f 77 65 72 50 43 |ware for| PowerPC|
|000036a0| 20 70 72 6f 63 65 73 73 | 6f 72 2d 62 61 73 65 64 | process|or-based|
|000036b0| 20 4d 61 63 69 6e 74 6f | 73 68 20 63 6f 6d 70 75 | Macinto|sh compu|
|000036c0| 74 65 72 73 20 69 73 20 | 73 69 67 6e 69 66 69 63 |ters is |signific|
|000036d0| 61 6e 74 6c 79 20 64 69 | 66 66 65 72 65 6e 74 20 |antly di|fferent |
|000036e0| 66 72 6f 6d 20 74 68 65 | 20 65 78 65 63 75 74 69 |from the| executi|
|000036f0| 6f 6e 20 65 6e 76 69 72 | 6f 6e 6d 65 6e 74 20 6f |on envir|onment o|
|00003700| 66 20 63 75 72 72 65 6e | 74 20 36 38 30 78 30 2d |f curren|t 680x0-|
|00003710| 62 61 73 65 64 20 4d 61 | 63 69 6e 74 6f 73 68 20 |based Ma|cintosh |
|00003720| 63 6f 6d 70 75 74 65 72 | 73 2c 20 79 6f 75 20 77 |computer|s, you w|
|00003730| 6f 6e d5 74 20 6e 65 65 | 64 20 74 6f 20 77 6f 72 |on.t nee|d to wor|
|00003740| 72 79 20 61 62 6f 75 74 | 20 74 68 6f 73 65 20 64 |ry about| those d|
|00003750| 69 66 66 65 72 65 6e 63 | 65 73 20 75 6e 6c 65 73 |ifferenc|es unles|
|00003760| 73 20 79 6f 75 72 20 65 | 78 69 73 74 69 6e 67 20 |s your e|xisting |
|00003770| 63 6f 64 65 20 72 65 6c | 69 65 73 20 6f 6e 20 73 |code rel|ies on s|
|00003780| 70 65 63 69 66 69 63 20 | 69 6e 66 6f 72 6d 61 74 |pecific |informat|
|00003790| 69 6f 6e 20 61 62 6f 75 | 74 20 74 68 65 20 36 38 |ion abou|t the 68|
|000037a0| 30 78 30 20 65 78 65 63 | 75 74 69 6f 6e 20 65 6e |0x0 exec|ution en|
|000037b0| 76 69 72 6f 6e 6d 65 6e | 74 2e 20 46 6f 72 20 65 |vironmen|t. For e|
|000037c0| 78 61 6d 70 6c 65 2c 20 | 69 66 20 66 6f 72 20 73 |xample, |if for s|
|000037d0| 6f 6d 65 20 72 65 61 73 | 6f 6e 20 79 6f 75 20 64 |ome reas|on you d|
|000037e0| 69 72 65 63 74 6c 79 20 | 61 63 63 65 73 73 20 69 |irectly |access i|
|000037f0| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 69 6e 20 79 6f |nformati|on in yo|
|00003800| 75 72 20 61 70 70 6c 69 | 63 61 74 69 6f 6e d5 73 |ur appli|cation.s|
|00003810| 20 41 35 20 77 6f 72 6c | 64 2c 20 79 6f 75 d5 6c | A5 worl|d, you.l|
|00003820| 6c 20 6e 65 65 64 20 74 | 6f 20 72 65 77 72 69 74 |l need t|o rewrit|
|00003830| 65 20 74 68 6f 73 65 20 | 0d 70 61 72 74 73 20 6f |e those |.parts o|
|00003840| 66 20 63 6f 64 65 20 77 | 68 65 6e 20 70 6f 72 74 |f code w|hen port|
|00003850| 69 6e 67 20 79 6f 75 72 | 20 61 70 70 6c 69 63 61 |ing your| applica|
|00003860| 74 69 6f 6e 20 74 6f 20 | 74 68 65 20 50 6f 77 65 |tion to |the Powe|
|00003870| 72 50 43 20 65 6e 76 69 | 72 6f 6e 6d 65 6e 74 2e |rPC envi|ronment.|
|00003880| 20 53 69 6d 69 6c 61 72 | 6c 79 2c 20 79 6f 75 d5 | Similar|ly, you.|
|00003890| 6c 6c 20 6e 65 65 64 20 | 74 6f 20 72 65 77 72 69 |ll need |to rewri|
|000038a0| 74 65 20 61 6e 79 20 70 | 61 72 74 73 20 6f 66 20 |te any p|arts of |
|000038b0| 79 6f 75 72 20 63 6f 64 | 65 20 74 68 61 74 20 64 |your cod|e that d|
|000038c0| 65 70 65 6e 64 20 6f 6e | 20 0d 64 61 74 61 20 62 |epend on| .data b|
|000038d0| 65 69 6e 67 20 70 61 73 | 73 65 64 20 69 6e 20 63 |eing pas|sed in c|
|000038e0| 65 72 74 61 69 6e 20 36 | 38 30 78 30 20 72 65 67 |ertain 6|80x0 reg|
|000038f0| 69 73 74 65 72 73 2e 20 | 56 42 4c 20 74 61 73 6b |isters. |VBL task|
|00003900| 73 2c 20 66 6f 72 20 69 | 6e 73 74 61 6e 63 65 2c |s, for i|nstance,|
|00003910| 20 76 65 72 79 20 6f 66 | 74 65 6e 20 64 65 70 65 | very of|ten depe|
|00003920| 6e 64 20 6f 6e 20 74 68 | 65 20 66 61 63 74 20 74 |nd on th|e fact t|
|00003930| 68 61 74 20 61 20 70 6f | 69 6e 74 65 72 20 74 6f |hat a po|inter to|
|00003940| 20 74 68 65 20 56 42 4c | 20 74 61 73 6b 20 72 65 | the VBL| task re|
|00003950| 63 6f 72 64 20 69 73 20 | 70 61 73 73 65 64 20 69 |cord is |passed i|
|00003960| 6e 20 72 65 67 69 73 74 | 65 72 20 41 30 2e 0d 54 |n regist|er A0..T|
|00003970| 68 65 20 66 69 72 73 74 | 20 63 68 61 70 74 65 72 |he first| chapter|
|00003980| 20 69 6e 20 74 68 69 73 | 20 62 6f 6f 6b 2c 20 d2 | in this| book, .|
|00003990| 49 6e 74 72 6f 64 75 63 | 74 69 6f 6e 20 74 6f 20 |Introduc|tion to |
|000039a0| 50 6f 77 65 72 50 43 20 | 53 79 73 74 65 6d 20 53 |PowerPC |System S|
|000039b0| 6f 66 74 77 61 72 65 2c | d3 20 70 72 6f 76 69 64 |oftware,|. provid|
|000039c0| 65 73 20 61 20 67 65 6e | 65 72 61 6c 20 6f 76 65 |es a gen|eral ove|
|000039d0| 72 76 69 65 77 20 6f 66 | 20 74 68 65 20 73 79 73 |rview of| the sys|
|000039e0| 74 65 6d 20 73 6f 66 74 | 77 61 72 65 20 74 68 61 |tem soft|ware tha|
|000039f0| 74 20 72 75 6e 73 20 6f | 6e 20 50 6f 77 65 72 50 |t runs o|n PowerP|
|00003a00| 43 20 70 72 6f 63 65 73 | 73 6f 72 2d 62 61 73 65 |C proces|sor-base|
|00003a10| 64 20 4d 61 63 69 6e 74 | 6f 73 68 20 63 6f 6d 70 |d Macint|osh comp|
|00003a20| 75 74 65 72 73 2e 20 49 | 74 20 61 6c 73 6f 20 64 |uters. I|t also d|
|00003a30| 65 73 63 72 69 62 65 73 | 20 69 6e 20 64 65 74 61 |escribes| in deta|
|00003a40| 69 6c 20 74 68 65 20 6d | 69 78 65 64 20 65 6e 76 |il the m|ixed env|
|00003a50| 69 72 6f 6e 6d 65 6e 74 | 20 70 72 6f 76 69 64 65 |ironment| provide|
|00003a60| 64 20 62 79 20 74 68 65 | 20 36 38 4c 43 30 34 30 |d by the| 68LC040|
|00003a70| 20 45 6d 75 6c 61 74 6f | 72 20 61 6e 64 20 74 68 | Emulato|r and th|
|00003a80| 65 20 4d 69 78 65 64 20 | 4d 6f 64 65 20 4d 61 6e |e Mixed |Mode Man|
|00003a90| 61 67 65 72 2c 20 61 73 | 20 77 65 6c 6c 20 61 73 |ager, as| well as|
|00003aa0| 20 74 68 65 20 6e 65 77 | 20 72 75 6e 2d 74 69 6d | the new| run-tim|
|00003ab0| 65 20 65 6e 76 69 72 6f | 6e 6d 65 6e 74 20 75 73 |e enviro|nment us|
|00003ac0| 65 64 20 66 6f 72 20 6e | 61 74 69 76 65 20 50 6f |ed for n|ative Po|
|00003ad0| 77 65 72 50 43 20 61 70 | 70 6c 69 63 61 74 69 6f |werPC ap|plicatio|
|00003ae0| 6e 73 2e 20 59 6f 75 20 | 73 68 6f 75 6c 64 20 72 |ns. You |should r|
|00003af0| 65 61 64 20 74 68 69 73 | 20 63 68 61 70 74 65 72 |ead this| chapter|
|00003b00| 20 66 6f 72 20 67 65 6e | 65 72 61 6c 20 69 6e 66 | for gen|eral inf|
|00003b10| 6f 72 6d 61 74 69 6f 6e | 20 61 62 6f 75 74 20 70 |ormation| about p|
|00003b20| 6f 72 74 69 6e 67 20 79 | 6f 75 72 20 65 78 69 73 |orting y|our exis|
|00003b30| 74 69 6e 67 20 73 6f 66 | 74 77 61 72 65 20 74 6f |ting sof|tware to|
|00003b40| 20 74 68 65 20 50 6f 77 | 65 72 50 43 20 65 6e 76 | the Pow|erPC env|
|00003b50| 69 72 6f 6e 6d 65 6e 74 | 2e 20 45 76 65 6e 20 69 |ironment|. Even i|
|00003b60| 66 20 79 6f 75 20 64 6f | 20 6e 6f 74 20 69 6e 74 |f you do| not int|
|00003b70| 65 6e 64 20 74 6f 20 70 | 6f 72 74 20 79 6f 75 72 |end to p|ort your|
|00003b80| 20 65 78 69 73 74 69 6e | 67 20 36 38 30 78 30 20 | existin|g 680x0 |
|00003b90| 73 6f 66 74 77 61 72 65 | 2c 20 79 6f 75 20 6d 69 |software|, you mi|
|00003ba0| 67 68 74 20 73 74 69 6c | 6c 20 77 61 6e 74 20 74 |ght stil|l want t|
|00003bb0| 6f 20 72 65 61 64 20 74 | 68 69 73 20 63 68 61 70 |o read t|his chap|
|00003bc0| 74 65 72 20 66 6f 72 20 | 69 6e 66 6f 72 6d 61 74 |ter for |informat|
|00003bd0| 69 6f 6e 20 61 62 6f 75 | 74 20 72 75 6e 6e 69 6e |ion abou|t runnin|
|00003be0| 67 20 75 6e 64 65 72 20 | 74 68 65 20 36 38 4c 43 |g under |the 68LC|
|00003bf0| 30 34 30 20 45 6d 75 6c | 61 74 6f 72 2e 0d 54 68 |040 Emul|ator..Th|
|00003c00| 65 20 72 65 6d 61 69 6e | 69 6e 67 20 63 68 61 70 |e remain|ing chap|
|00003c10| 74 65 72 73 20 69 6e 20 | 74 68 69 73 20 62 6f 6f |ters in |this boo|
|00003c20| 6b 20 70 72 6f 76 69 64 | 65 20 72 65 66 65 72 65 |k provid|e refere|
|00003c30| 6e 63 65 20 6d 61 74 65 | 72 69 61 6c 20 66 6f 72 |nce mate|rial for|
|00003c40| 20 74 68 65 20 74 68 72 | 65 65 20 6e 65 77 20 73 | the thr|ee new s|
|00003c50| 79 73 74 65 6d 20 73 6f | 66 74 77 61 72 65 20 6d |ystem so|ftware m|
|00003c60| 61 6e 61 67 65 72 73 20 | 69 6e 74 72 6f 64 75 63 |anagers |introduc|
|00003c70| 65 64 20 69 6e 20 74 68 | 65 20 66 69 72 73 74 20 |ed in th|e first |
|00003c80| 76 65 72 73 69 6f 6e 20 | 6f 66 20 74 68 65 20 73 |version |of the s|
|00003c90| 79 73 74 65 6d 20 73 6f | 66 74 77 61 72 65 20 66 |ystem so|ftware f|
|00003ca0| 6f 72 20 50 6f 77 65 72 | 50 43 20 70 72 6f 63 65 |or Power|PC proce|
|00003cb0| 73 73 6f 72 2d 62 61 73 | 65 64 20 4d 61 63 69 6e |ssor-bas|ed Macin|
|00003cc0| 74 6f 73 68 20 63 6f 6d | 70 75 74 65 72 73 2e 20 |tosh com|puters. |
|00003cd0| 59 6f 75 20 73 68 6f 75 | 6c 64 20 72 65 61 64 20 |You shou|ld read |
|00003ce0| 74 68 65 73 65 20 63 68 | 61 70 74 65 72 73 20 66 |these ch|apters f|
|00003cf0| 6f 72 20 73 70 65 63 69 | 66 69 63 20 69 6e 66 6f |or speci|fic info|
|00003d00| 72 6d 61 74 69 6f 6e 20 | 6f 6e 20 75 73 69 6e 67 |rmation |on using|
|00003d10| 20 74 68 65 20 73 65 72 | 76 69 63 65 73 20 70 72 | the ser|vices pr|
|00003d20| 6f 76 69 64 65 64 20 62 | 79 20 74 68 6f 73 65 20 |ovided b|y those |
|00003d30| 6d 61 6e 61 67 65 72 73 | 2e 20 54 68 65 20 6e 65 |managers|. The ne|
|00003d40| 77 20 73 79 73 74 65 6d | 20 73 6f 66 74 77 61 72 |w system| softwar|
|00003d50| 65 20 6d 61 6e 61 67 65 | 72 73 20 61 72 65 0d 6e |e manage|rs are.n|
|00003d60| 09 74 68 65 20 4d 69 78 | 65 64 20 4d 6f 64 65 20 |.the Mix|ed Mode |
|00003d70| 4d 61 6e 61 67 65 72 2c | 20 77 68 69 63 68 20 6d |Manager,| which m|
|00003d80| 61 6e 61 67 65 73 20 74 | 68 65 20 6d 69 78 65 64 |anages t|he mixed|
|00003d90| 20 65 6e 76 69 72 6f 6e | 6d 65 6e 74 20 6f 66 20 | environ|ment of |
|00003da0| 50 6f 77 65 72 50 43 20 | 70 72 6f 63 65 73 73 6f |PowerPC |processo|
|00003db0| 72 2d 62 61 73 65 64 20 | 4d 61 63 69 6e 74 6f 73 |r-based |Macintos|
|00003dc0| 68 20 63 6f 6d 70 75 74 | 65 72 73 20 72 75 6e 6e |h comput|ers runn|
|00003dd0| 69 6e 67 20 36 38 30 78 | 30 2d 62 61 73 65 64 20 |ing 680x|0-based |
|00003de0| 63 6f 64 65 0d 6e 09 74 | 68 65 20 43 6f 64 65 20 |code.n.t|he Code |
|00003df0| 46 72 61 67 6d 65 6e 74 | 20 4d 61 6e 61 67 65 72 |Fragment| Manager|
|00003e00| 2c 20 77 68 69 63 68 20 | 6c 6f 61 64 73 20 66 72 |, which |loads fr|
|00003e10| 61 67 6d 65 6e 74 73 20 | 28 62 6c 6f 63 6b 73 20 |agments |(blocks |
|00003e20| 6f 66 20 65 78 65 63 75 | 74 61 62 6c 65 20 50 6f |of execu|table Po|
|00003e30| 77 65 72 50 43 20 63 6f | 64 65 20 61 6e 64 20 74 |werPC co|de and t|
|00003e40| 68 65 69 72 20 61 73 73 | 6f 63 69 61 74 65 64 20 |heir ass|ociated |
|00003e50| 64 61 74 61 29 20 69 6e | 74 6f 20 6d 65 6d 6f 72 |data) in|to memor|
|00003e60| 79 20 61 6e 64 20 70 72 | 65 70 61 72 65 73 20 74 |y and pr|epares t|
|00003e70| 68 65 6d 20 66 6f 72 20 | 65 78 65 63 75 74 69 6f |hem for |executio|
|00003e80| 6e 0d 6e 09 74 68 65 20 | 45 78 63 65 70 74 69 6f |n.n.the |Exceptio|
|00003e90| 6e 20 4d 61 6e 61 67 65 | 72 2c 20 77 68 69 63 68 |n Manage|r, which|
|00003ea0| 20 68 61 6e 64 6c 65 73 | 20 65 78 63 65 70 74 69 | handles| excepti|
|00003eb0| 6f 6e 73 20 74 68 61 74 | 20 6f 63 63 75 72 20 64 |ons that| occur d|
|00003ec0| 75 72 69 6e 67 20 74 68 | 65 20 65 78 65 63 75 74 |uring th|e execut|
|00003ed0| 69 6f 6e 20 6f 66 20 50 | 6f 77 65 72 50 43 20 61 |ion of P|owerPC a|
|00003ee0| 70 70 6c 69 63 61 74 69 | 6f 6e 73 20 6f 72 20 6f |pplicati|ons or o|
|00003ef0| 74 68 65 72 20 73 6f 66 | 74 77 61 72 65 0d 49 4d |ther sof|tware.IM|
|00003f00| 50 4f 52 54 41 4e 54 0d | 53 6f 6d 65 20 6f 66 20 |PORTANT.|Some of |
|00003f10| 74 68 65 20 73 79 73 74 | 65 6d 20 73 6f 66 74 77 |the syst|em softw|
|00003f20| 61 72 65 20 73 65 72 76 | 69 63 65 73 20 69 6e 74 |are serv|ices int|
|00003f30| 72 6f 64 75 63 65 64 20 | 69 6e 20 74 68 65 20 66 |roduced |in the f|
|00003f40| 69 72 73 74 20 76 65 72 | 73 69 6f 6e 20 6f 66 20 |irst ver|sion of |
|00003f50| 74 68 65 20 73 79 73 74 | 65 6d 20 73 6f 66 74 77 |the syst|em softw|
|00003f60| 61 72 65 20 66 6f 72 20 | 50 6f 77 65 72 50 43 20 |are for |PowerPC |
|00003f70| 70 72 6f 63 65 73 73 6f | 72 2d 62 61 73 65 64 20 |processo|r-based |
|00003f80| 4d 61 63 69 6e 74 6f 73 | 68 20 63 6f 6d 70 75 74 |Macintos|h comput|
|00003f90| 65 72 73 20 6d 69 67 68 | 74 20 69 6e 20 74 68 65 |ers migh|t in the|
|00003fa0| 20 66 75 74 75 72 65 20 | 62 65 20 61 76 61 69 6c | future |be avail|
|00003fb0| 61 62 6c 65 20 6f 6e 20 | 4d 61 63 69 6e 74 6f 73 |able on |Macintos|
|00003fc0| 68 20 63 6f 6d 70 75 74 | 65 72 73 20 74 68 61 74 |h comput|ers that|
|00003fd0| 20 61 72 65 20 6e 6f 74 | 20 62 61 73 65 64 20 6f | are not| based o|
|00003fe0| 6e 20 74 68 65 20 50 6f | 77 65 72 50 43 20 6d 69 |n the Po|werPC mi|
|00003ff0| 63 72 6f 70 72 6f 63 65 | 73 73 6f 72 2e 20 46 6f |croproce|ssor. Fo|
|00004000| 72 20 65 78 61 6d 70 6c | 65 2c 20 69 74 d5 73 20 |r exampl|e, it.s |
|00004010| 70 6f 73 73 69 62 6c 65 | 20 74 68 61 74 20 74 68 |possible| that th|
|00004020| 65 20 43 6f 64 65 20 46 | 72 61 67 6d 65 6e 74 20 |e Code F|ragment |
|00004030| 4d 61 6e 61 67 65 72 20 | 28 61 6e 64 20 74 68 65 |Manager |(and the|
|00004040| 20 65 6e 74 69 72 65 20 | 72 75 6e 2d 74 69 6d 65 | entire |run-time|
|00004050| 20 65 6e 76 69 72 6f 6e | 6d 65 6e 74 20 62 61 73 | environ|ment bas|
|00004060| 65 64 20 6f 6e 20 66 72 | 61 67 6d 65 6e 74 73 29 |ed on fr|agments)|
|00004070| 20 77 69 6c 6c 20 62 65 | 20 69 6e 63 6c 75 64 65 | will be| include|
|00004080| 64 20 69 6e 20 66 75 74 | 75 72 65 20 76 65 72 73 |d in fut|ure vers|
|00004090| 69 6f 6e 73 20 6f 66 20 | 74 68 65 20 73 79 73 74 |ions of |the syst|
|000040a0| 65 6d 20 73 6f 66 74 77 | 61 72 65 20 66 6f 72 20 |em softw|are for |
|000040b0| 36 38 30 78 30 2d 62 61 | 73 65 64 20 4d 61 63 69 |680x0-ba|sed Maci|
|000040c0| 6e 74 6f 73 68 20 63 6f | 6d 70 75 74 65 72 73 2e |ntosh co|mputers.|
|000040d0| 20 41 73 20 61 20 72 65 | 73 75 6c 74 2c 20 73 6f | As a re|sult, so|
|000040e0| 6d 65 20 6f 66 20 74 68 | 65 20 69 6e 66 6f 72 6d |me of th|e inform|
|000040f0| 61 74 69 6f 6e 20 69 6e | 20 74 68 69 73 20 62 6f |ation in| this bo|
|00004100| 6f 6b 20 6d 69 67 68 74 | 20 65 76 65 6e 74 75 61 |ok might| eventua|
|00004110| 6c 6c 79 20 62 65 20 6d | 6f 72 65 20 67 65 6e 65 |lly be m|ore gene|
|00004120| 72 61 6c 6c 79 20 61 70 | 70 6c 69 63 61 62 6c 65 |rally ap|plicable|
|00004130| 20 74 68 61 6e 20 74 68 | 65 20 74 69 74 6c 65 20 | than th|e title |
|00004140| 6f 66 20 74 68 69 73 20 | 62 6f 6f 6b 20 6d 69 67 |of this |book mig|
|00004150| 68 74 20 73 75 67 67 65 | 73 74 2e 13 73 0d 49 66 |ht sugge|st..s.If|
|00004160| 20 79 6f 75 20 61 72 65 | 20 6e 65 77 20 74 6f 20 | you are| new to |
|00004170| 70 72 6f 67 72 61 6d 6d | 69 6e 67 20 66 6f 72 20 |programm|ing for |
|00004180| 4d 61 63 69 6e 74 6f 73 | 68 20 63 6f 6d 70 75 74 |Macintos|h comput|
|00004190| 65 72 73 2c 20 79 6f 75 | 20 73 68 6f 75 6c 64 20 |ers, you| should |
|000041a0| 72 65 61 64 20 74 68 65 | 20 62 6f 6f 6b 20 49 6e |read the| book In|
|000041b0| 73 69 64 65 20 4d 61 63 | 69 6e 74 6f 73 68 3a 20 |side Mac|intosh: |
|000041c0| 4f 76 65 72 76 69 65 77 | 20 66 6f 72 20 61 6e 20 |Overview| for an |
|000041d0| 69 6e 74 72 6f 64 75 63 | 74 69 6f 6e 20 74 6f 20 |introduc|tion to |
|000041e0| 67 65 6e 65 72 61 6c 20 | 63 6f 6e 63 65 70 74 73 |general |concepts|
|000041f0| 20 0d 6f 66 20 4d 61 63 | 69 6e 74 6f 73 68 20 70 | .of Mac|intosh p|
|00004200| 72 6f 67 72 61 6d 6d 69 | 6e 67 2e 20 59 6f 75 20 |rogrammi|ng. You |
|00004210| 73 68 6f 75 6c 64 20 61 | 6c 73 6f 20 72 65 61 64 |should a|lso read|
|00004220| 20 6f 74 68 65 72 20 62 | 6f 6f 6b 73 20 69 6e 20 | other b|ooks in |
|00004230| 74 68 65 20 49 6e 73 69 | 64 65 20 4d 61 63 69 6e |the Insi|de Macin|
|00004240| 74 6f 73 68 20 73 65 72 | 69 65 73 20 66 6f 72 20 |tosh ser|ies for |
|00004250| 73 70 65 63 69 66 69 63 | 20 69 6e 66 6f 72 6d 61 |specific| informa|
|00004260| 74 69 6f 6e 20 61 62 6f | 75 74 20 6f 74 68 65 72 |tion abo|ut other|
|00004270| 20 61 73 70 65 63 74 73 | 20 6f 66 20 74 68 65 20 | aspects| of the |
|00004280| 4d 61 63 69 6e 74 6f 73 | 68 20 54 6f 6f 6c 62 6f |Macintos|h Toolbo|
|00004290| 78 20 61 6e 64 20 74 68 | 65 20 4d 61 63 69 6e 74 |x and th|e Macint|
|000042a0| 6f 73 68 20 4f 70 65 72 | 61 74 69 6e 67 20 53 79 |osh Oper|ating Sy|
|000042b0| 73 74 65 6d 2e 20 49 6e | 20 70 61 72 74 69 63 75 |stem. In| particu|
|000042c0| 6c 61 72 2c 20 74 6f 20 | 62 65 6e 65 66 69 74 20 |lar, to |benefit |
|000042d0| 6d 6f 73 74 20 66 72 6f | 6d 20 74 68 69 73 20 62 |most fro|m this b|
|000042e0| 6f 6f 6b 2c 20 79 6f 75 | 20 73 68 6f 75 6c 64 20 |ook, you| should |
|000042f0| 61 6c 72 65 61 64 79 20 | 62 65 20 66 61 6d 69 6c |already |be famil|
|00004300| 69 61 72 20 77 69 74 68 | 20 74 68 65 20 72 75 6e |iar with| the run|
|00004310| 2d 74 69 6d 65 20 65 6e | 76 69 72 6f 6e 6d 65 6e |-time en|vironmen|
|00004320| 74 20 6f 66 20 36 38 30 | 78 30 20 61 70 70 6c 69 |t of 680|x0 appli|
|00004330| 63 61 74 69 6f 6e 73 2c | 20 61 73 20 64 65 73 63 |cations,| as desc|
|00004340| 72 69 62 65 64 20 69 6e | 20 74 68 65 20 74 77 6f |ribed in| the two|
|00004350| 20 62 6f 6f 6b 73 20 49 | 6e 73 69 64 65 20 4d 61 | books I|nside Ma|
|00004360| 63 69 6e 74 6f 73 68 3a | 20 50 72 6f 63 65 73 73 |cintosh:| Process|
|00004370| 65 73 20 61 6e 64 20 49 | 6e 73 69 64 65 20 4d 61 |es and I|nside Ma|
|00004380| 63 69 6e 74 6f 73 68 3a | 20 4d 65 6d 6f 72 79 2e |cintosh:| Memory.|
|00004390| 0d 0d 0d 52 65 6c 61 74 | 65 64 20 44 6f 63 75 6d |...Relat|ed Docum|
|000043a0| 65 6e 74 61 74 69 6f 6e | 0d 0d 54 68 69 73 20 62 |entation|..This b|
|000043b0| 6f 6f 6b 20 69 73 20 70 | 61 72 74 20 6f 66 20 61 |ook is p|art of a|
|000043c0| 20 6c 61 72 67 65 72 20 | 73 75 69 74 65 20 6f 66 | larger |suite of|
|000043d0| 20 62 6f 6f 6b 73 20 74 | 68 61 74 20 63 6f 6e 74 | books t|hat cont|
|000043e0| 61 69 6e 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |ain info|rmation |
|000043f0| 65 73 73 65 6e 74 69 61 | 6c 20 66 6f 72 20 64 65 |essentia|l for de|
|00004400| 76 65 6c 6f 70 69 6e 67 | 20 50 6f 77 65 72 50 43 |veloping| PowerPC|
|00004410| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 73 20 61 6e | applica|tions an|
|00004420| 64 20 6f 74 68 65 72 20 | 73 6f 66 74 77 61 72 65 |d other |software|
|00004430| 2e 0d 6e 09 46 6f 72 20 | 69 6e 66 6f 72 6d 61 74 |..n.For |informat|
|00004440| 69 6f 6e 20 61 62 6f 75 | 74 20 74 68 65 20 50 50 |ion abou|t the PP|
|00004450| 43 43 20 63 6f 6d 70 69 | 6c 65 72 20 74 68 61 74 |CC compi|ler that|
|00004460| 20 79 6f 75 20 63 61 6e | 20 75 73 65 20 74 6f 20 | you can| use to |
|00004470| 63 6f 6d 70 69 6c 65 20 | 79 6f 75 72 20 73 6f 75 |compile |your sou|
|00004480| 72 63 65 20 63 6f 64 65 | 20 69 6e 74 6f 20 61 20 |rce code| into a |
|00004490| 50 6f 77 65 72 50 43 20 | 61 70 70 6c 69 63 61 74 |PowerPC |applicat|
|000044a0| 69 6f 6e 2c 20 73 65 65 | 20 74 68 65 20 62 6f 6f |ion, see| the boo|
|000044b0| 6b 20 43 2f 43 2b 2b 20 | 43 6f 6d 70 69 6c 65 72 |k C/C++ |Compiler|
|000044c0| 20 66 6f 72 20 4d 61 63 | 69 6e 74 6f 73 68 20 57 | for Mac|intosh W|
|000044d0| 69 74 68 20 50 6f 77 65 | 72 50 43 2e 0d 6e 09 46 |ith Powe|rPC..n.F|
|000044e0| 6f 72 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 61 |or infor|mation a|
|000044f0| 62 6f 75 74 20 74 68 65 | 20 50 50 43 41 73 6d 20 |bout the| PPCAsm |
|00004500| 61 73 73 65 6d 62 6c 65 | 72 2c 20 73 65 65 20 74 |assemble|r, see t|
|00004510| 68 65 20 62 6f 6f 6b 20 | 41 73 73 65 6d 62 6c 65 |he book |Assemble|
|00004520| 72 20 66 6f 72 20 4d 61 | 63 69 6e 74 6f 73 68 20 |r for Ma|cintosh |
|00004530| 57 69 74 68 20 50 6f 77 | 65 72 50 43 2e 0d 6e 09 |With Pow|erPC..n.|
|00004540| 46 6f 72 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |For info|rmation |
|00004550| 61 62 6f 75 74 20 64 65 | 62 75 67 67 69 6e 67 20 |about de|bugging |
|00004560| 61 6e 64 20 6d 65 61 73 | 75 72 69 6e 67 20 74 68 |and meas|uring th|
|00004570| 65 20 70 65 72 66 6f 72 | 6d 61 6e 63 65 20 6f 66 |e perfor|mance of|
|00004580| 20 50 6f 77 65 72 50 43 | 20 61 70 70 6c 69 63 61 | PowerPC| applica|
|00004590| 74 69 6f 6e 73 2c 20 73 | 65 65 20 74 68 65 20 62 |tions, s|ee the b|
|000045a0| 6f 6f 6b 20 4d 61 63 69 | 6e 74 6f 73 68 20 44 65 |ook Maci|ntosh De|
|000045b0| 62 75 67 67 65 72 20 52 | 65 66 65 72 65 6e 63 65 |bugger R|eference|
|000045c0| 2e 0d 6e 09 46 6f 72 20 | 69 6e 66 6f 72 6d 61 74 |..n.For |informat|
|000045d0| 69 6f 6e 20 61 62 6f 75 | 74 20 70 65 72 66 6f 72 |ion abou|t perfor|
|000045e0| 6d 69 6e 67 20 66 6c 6f | 61 74 69 6e 67 2d 70 6f |ming flo|ating-po|
|000045f0| 69 6e 74 20 63 61 6c 63 | 75 6c 61 74 69 6f 6e 73 |int calc|ulations|
|00004600| 20 69 6e 20 50 6f 77 65 | 72 50 43 20 61 70 70 6c | in Powe|rPC appl|
|00004610| 69 63 61 74 69 6f 6e 73 | 2c 20 73 65 65 20 74 68 |ications|, see th|
|00004620| 65 20 62 6f 6f 6b 20 49 | 6e 73 69 64 65 20 4d 61 |e book I|nside Ma|
|00004630| 63 69 6e 74 6f 73 68 3a | 20 50 6f 77 65 72 50 43 |cintosh:| PowerPC|
|00004640| 20 4e 75 6d 65 72 69 63 | 73 2e 0d 6e 09 46 6f 72 | Numeric|s..n.For|
|00004650| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 61 62 6f | informa|tion abo|
|00004660| 75 74 20 62 75 69 6c 64 | 69 6e 67 20 50 6f 77 65 |ut build|ing Powe|
|00004670| 72 50 43 20 61 70 70 6c | 69 63 61 74 69 6f 6e 73 |rPC appl|ications|
|00004680| 20 61 6e 64 20 6f 74 68 | 65 72 20 6b 69 6e 64 73 | and oth|er kinds|
|00004690| 20 6f 66 20 50 6f 77 65 | 72 50 43 20 73 6f 66 74 | of Powe|rPC soft|
|000046a0| 77 61 72 65 20 66 6f 72 | 20 4d 61 63 69 6e 74 6f |ware for| Macinto|
|000046b0| 73 68 20 63 6f 6d 70 75 | 74 65 72 73 2c 20 73 65 |sh compu|ters, se|
|000046c0| 65 20 42 75 69 6c 64 69 | 6e 67 20 50 72 6f 67 72 |e Buildi|ng Progr|
|000046d0| 61 6d 73 20 66 6f 72 20 | 4d 61 63 69 6e 74 6f 73 |ams for |Macintos|
|000046e0| 68 20 57 69 74 68 20 50 | 6f 77 65 72 50 43 2e 0d |h With P|owerPC..|
|000046f0| 0d 46 6f 72 6d 61 74 20 | 6f 66 20 61 20 54 79 70 |.Format |of a Typ|
|00004700| 69 63 61 6c 20 43 68 61 | 70 74 65 72 0d 0d 41 6c |ical Cha|pter..Al|
|00004710| 6d 6f 73 74 20 61 6c 6c | 20 63 68 61 70 74 65 72 |most all| chapter|
|00004720| 73 20 69 6e 20 74 68 69 | 73 20 62 6f 6f 6b 20 66 |s in thi|s book f|
|00004730| 6f 6c 6c 6f 77 20 61 20 | 73 74 61 6e 64 61 72 64 |ollow a |standard|
|00004740| 20 73 74 72 75 63 74 75 | 72 65 2e 20 46 6f 72 20 | structu|re. For |
|00004750| 65 78 61 6d 70 6c 65 2c | 20 74 68 65 20 63 68 61 |example,| the cha|
|00004760| 70 74 65 72 20 d2 4d 69 | 78 65 64 20 4d 6f 64 65 |pter .Mi|xed Mode|
|00004770| 20 4d 61 6e 61 67 65 72 | d3 20 63 6f 6e 74 61 69 | Manager|. contai|
|00004780| 6e 73 20 74 68 65 73 65 | 20 73 65 63 74 69 6f 6e |ns these| section|
|00004790| 73 3a 0d 6e 09 d2 41 62 | 6f 75 74 20 74 68 65 20 |s:.n..Ab|out the |
|000047a0| 4d 69 78 65 64 20 4d 6f | 64 65 20 4d 61 6e 61 67 |Mixed Mo|de Manag|
|000047b0| 65 72 2e d3 20 54 68 69 | 73 20 73 65 63 74 69 6f |er.. Thi|s sectio|
|000047c0| 6e 20 64 65 73 63 72 69 | 62 65 73 20 74 68 65 20 |n descri|bes the |
|000047d0| 4d 69 78 65 64 20 4d 6f | 64 65 20 4d 61 6e 61 67 |Mixed Mo|de Manag|
|000047e0| 65 72 2e 20 59 6f 75 20 | 73 68 6f 75 6c 64 20 72 |er. You |should r|
|000047f0| 65 61 64 20 74 68 69 73 | 20 73 65 63 74 69 6f 6e |ead this| section|
|00004800| 20 66 6f 72 20 61 20 67 | 65 6e 65 72 61 6c 20 75 | for a g|eneral u|
|00004810| 6e 64 65 72 73 74 61 6e | 64 69 6e 67 20 6f 66 20 |nderstan|ding of |
|00004820| 0d 77 68 61 74 20 74 68 | 65 20 4d 69 78 65 64 20 |.what th|e Mixed |
|00004830| 4d 6f 64 65 20 4d 61 6e | 61 67 65 72 20 64 6f 65 |Mode Man|ager doe|
|00004840| 73 20 61 6e 64 20 77 68 | 65 6e 20 79 6f 75 20 6d |s and wh|en you m|
|00004850| 69 67 68 74 20 6e 65 65 | 64 20 74 6f 20 63 61 6c |ight nee|d to cal|
|00004860| 6c 20 0d 69 74 20 65 78 | 70 6c 69 63 69 74 6c 79 |l .it ex|plicitly|
|00004870| 2e 0d 6e 09 d2 55 73 69 | 6e 67 20 74 68 65 20 4d |..n..Usi|ng the M|
|00004880| 69 78 65 64 20 4d 6f 64 | 65 20 4d 61 6e 61 67 65 |ixed Mod|e Manage|
|00004890| 72 2e d3 20 54 68 69 73 | 20 73 65 63 74 69 6f 6e |r.. This| section|
|000048a0| 20 70 72 6f 76 69 64 65 | 73 20 64 65 74 61 69 6c | provide|s detail|
|000048b0| 65 64 20 69 6e 73 74 72 | 75 63 2d 0d 74 69 6f 6e |ed instr|uc-.tion|
|000048c0| 73 20 6f 6e 20 75 73 69 | 6e 67 20 74 68 65 20 4d |s on usi|ng the M|
|000048d0| 69 78 65 64 20 4d 6f 64 | 65 20 4d 61 6e 61 67 65 |ixed Mod|e Manage|
|000048e0| 72 2e 20 59 6f 75 20 73 | 68 6f 75 6c 64 20 72 65 |r. You s|hould re|
|000048f0| 61 64 20 74 68 69 73 20 | 73 65 63 74 69 6f 6e 20 |ad this |section |
|00004900| 69 66 20 79 6f 75 20 6e | 65 65 64 20 74 6f 20 75 |if you n|eed to u|
|00004910| 73 65 20 74 68 65 20 73 | 65 72 76 69 63 65 73 20 |se the s|ervices |
|00004920| 70 72 6f 76 69 64 65 64 | 20 62 79 20 74 68 65 20 |provided| by the |
|00004930| 4d 69 78 65 64 20 4d 6f | 64 65 20 4d 61 6e 61 67 |Mixed Mo|de Manag|
|00004940| 65 72 2e 0d 6e 09 d2 4d | 69 78 65 64 20 4d 6f 64 |er..n..M|ixed Mod|
|00004950| 65 20 4d 61 6e 61 67 65 | 72 20 52 65 66 65 72 65 |e Manage|r Refere|
|00004960| 6e 63 65 2e d3 20 54 68 | 69 73 20 73 65 63 74 69 |nce.. Th|is secti|
|00004970| 6f 6e 20 70 72 6f 76 69 | 64 65 73 20 61 20 63 6f |on provi|des a co|
|00004980| 6d 70 6c 65 74 65 20 72 | 65 66 65 72 65 6e 63 65 |mplete r|eference|
|00004990| 20 74 6f 20 74 68 65 20 | 63 6f 6e 73 74 61 6e 74 | to the |constant|
|000049a0| 73 2c 20 64 61 74 61 20 | 73 74 72 75 63 74 75 72 |s, data |structur|
|000049b0| 65 73 2c 20 61 6e 64 20 | 72 6f 75 74 69 6e 65 73 |es, and |routines|
|000049c0| 20 70 72 6f 76 69 64 65 | 64 20 62 79 20 74 68 65 | provide|d by the|
|000049d0| 20 4d 69 78 65 64 20 4d | 6f 64 65 20 4d 61 6e 61 | Mixed M|ode Mana|
|000049e0| 67 65 72 2e 20 45 61 63 | 68 20 72 6f 75 74 69 6e |ger. Eac|h routin|
|000049f0| 65 20 64 65 73 63 72 69 | 70 74 69 6f 6e 20 61 6c |e descri|ption al|
|00004a00| 73 6f 20 66 6f 6c 6c 6f | 77 73 20 61 20 73 74 61 |so follo|ws a sta|
|00004a10| 6e 64 61 72 64 20 66 6f | 72 6d 61 74 2c 20 77 68 |ndard fo|rmat, wh|
|00004a20| 69 63 68 20 70 72 65 73 | 65 6e 74 73 20 74 68 65 |ich pres|ents the|
|00004a30| 20 72 6f 75 74 69 6e 65 | 20 64 65 63 6c 61 72 61 | routine| declara|
|00004a40| 74 69 6f 6e 20 66 6f 6c | 6c 6f 77 65 64 20 62 79 |tion fol|lowed by|
|00004a50| 20 61 20 64 65 73 63 72 | 69 70 74 69 6f 6e 20 0d | a descr|iption .|
|00004a60| 6f 66 20 65 76 65 72 79 | 20 70 61 72 61 6d 65 74 |of every| paramet|
|00004a70| 65 72 20 6f 66 20 74 68 | 65 20 72 6f 75 74 69 6e |er of th|e routin|
|00004a80| 65 2e 20 53 6f 6d 65 20 | 72 6f 75 74 69 6e 65 20 |e. Some |routine |
|00004a90| 64 65 73 63 72 69 70 74 | 69 6f 6e 73 20 61 6c 73 |descript|ions als|
|00004aa0| 6f 20 67 69 76 65 20 61 | 64 64 69 74 69 6f 6e 61 |o give a|dditiona|
|00004ab0| 6c 20 64 65 73 63 72 69 | 70 74 69 76 65 20 69 6e |l descri|ptive in|
|00004ac0| 66 6f 72 6d 61 74 69 6f | 6e 2c 20 73 75 63 68 20 |formatio|n, such |
|00004ad0| 61 73 20 63 69 72 63 75 | 6d 73 74 61 6e 63 65 73 |as circu|mstances|
|00004ae0| 20 75 6e 64 65 72 20 77 | 68 69 63 68 20 79 6f 75 | under w|hich you|
|00004af0| 20 63 61 6e 6e 6f 74 20 | 63 61 6c 6c 20 74 68 65 | cannot |call the|
|00004b00| 20 72 6f 75 74 69 6e 65 | 20 6f 72 20 72 65 73 75 | routine| or resu|
|00004b10| 6c 74 20 63 6f 64 65 73 | 2e 0d 6e 09 d2 53 75 6d |lt codes|..n..Sum|
|00004b20| 6d 61 72 79 20 6f 66 20 | 74 68 65 20 4d 69 78 65 |mary of |the Mixe|
|00004b30| 64 20 4d 6f 64 65 20 4d | 61 6e 61 67 65 72 2e d3 |d Mode M|anager..|
|00004b40| 20 54 68 69 73 20 73 65 | 63 74 69 6f 6e 20 70 72 | This se|ction pr|
|00004b50| 6f 76 69 64 65 73 20 74 | 68 65 20 43 20 69 6e 74 |ovides t|he C int|
|00004b60| 65 72 66 61 63 65 73 20 | 66 6f 72 20 74 68 65 20 |erfaces |for the |
|00004b70| 63 6f 6e 73 74 61 6e 74 | 73 2c 20 64 61 74 61 20 |constant|s, data |
|00004b80| 73 74 72 75 63 74 75 72 | 65 73 2c 20 72 6f 75 74 |structur|es, rout|
|00004b90| 69 6e 65 73 2c 20 61 6e | 64 20 72 65 73 75 6c 74 |ines, an|d result|
|00004ba0| 20 63 6f 64 65 73 20 61 | 73 73 6f 63 69 61 74 65 | codes a|ssociate|
|00004bb0| 64 20 77 69 74 68 20 74 | 68 65 20 4d 69 78 65 64 |d with t|he Mixed|
|00004bc0| 20 4d 6f 64 65 20 4d 61 | 6e 61 67 65 72 2e 20 0d | Mode Ma|nager. .|
|00004bd0| 0d 0d 43 6f 6e 76 65 6e | 74 69 6f 6e 73 20 55 73 |..Conven|tions Us|
|00004be0| 65 64 20 69 6e 20 54 68 | 69 73 20 42 6f 6f 6b 0d |ed in Th|is Book.|
|00004bf0| 0d 49 6e 73 69 64 65 20 | 4d 61 63 69 6e 74 6f 73 |.Inside |Macintos|
|00004c00| 68 20 75 73 65 73 20 76 | 61 72 69 6f 75 73 20 63 |h uses v|arious c|
|00004c10| 6f 6e 76 65 6e 74 69 6f | 6e 73 20 74 6f 20 70 72 |onventio|ns to pr|
|00004c20| 65 73 65 6e 74 20 69 6e | 66 6f 72 6d 61 74 69 6f |esent in|formatio|
|00004c30| 6e 2e 20 57 6f 72 64 73 | 20 74 68 61 74 20 72 65 |n. Words| that re|
|00004c40| 71 75 69 72 65 20 73 70 | 65 63 69 61 6c 20 74 72 |quire sp|ecial tr|
|00004c50| 65 61 74 6d 65 6e 74 20 | 61 70 70 65 61 72 20 69 |eatment |appear i|
|00004c60| 6e 20 73 70 65 63 69 66 | 69 63 20 66 6f 6e 74 73 |n specif|ic fonts|
|00004c70| 20 6f 72 20 66 6f 6e 74 | 20 73 74 79 6c 65 73 2e | or font| styles.|
|00004c80| 20 43 65 72 74 61 69 6e | 20 69 6e 66 6f 72 6d 61 | Certain| informa|
|00004c90| 74 69 6f 6e 2c 20 73 75 | 63 68 20 61 73 20 70 61 |tion, su|ch as pa|
|00004ca0| 72 61 6d 65 74 65 72 20 | 62 6c 6f 63 6b 73 2c 20 |rameter |blocks, |
|00004cb0| 61 70 70 65 61 72 73 20 | 69 6e 20 73 70 65 63 69 |appears |in speci|
|00004cc0| 61 6c 20 66 6f 72 6d 61 | 74 73 20 73 6f 20 74 68 |al forma|ts so th|
|00004cd0| 61 74 20 79 6f 75 20 63 | 61 6e 20 73 63 61 6e 20 |at you c|an scan |
|00004ce0| 69 74 20 71 75 69 63 6b | 6c 79 2e 0d 53 70 65 63 |it quick|ly..Spec|
|00004cf0| 69 61 6c 20 46 6f 6e 74 | 73 0d 0d 41 6c 6c 20 63 |ial Font|s..All c|
|00004d00| 6f 64 65 20 6c 69 73 74 | 69 6e 67 73 2c 20 72 65 |ode list|ings, re|
|00004d10| 73 65 72 76 65 64 20 77 | 6f 72 64 73 2c 20 61 6e |served w|ords, an|
|00004d20| 64 20 74 68 65 20 6e 61 | 6d 65 73 20 6f 66 20 61 |d the na|mes of a|
|00004d30| 63 74 75 61 6c 20 64 61 | 74 61 20 73 74 72 75 63 |ctual da|ta struc|
|00004d40| 74 75 72 65 73 2c 20 63 | 6f 6e 73 74 61 6e 74 73 |tures, c|onstants|
|00004d50| 2c 20 66 69 65 6c 64 73 | 2c 20 70 61 72 61 6d 65 |, fields|, parame|
|00004d60| 74 65 72 73 2c 20 61 6e | 64 20 72 6f 75 74 69 6e |ters, an|d routin|
|00004d70| 65 73 20 61 72 65 20 73 | 68 6f 77 6e 20 69 6e 20 |es are s|hown in |
|00004d80| 43 6f 75 72 69 65 72 20 | 28 74 68 69 73 20 69 73 |Courier |(this is|
|00004d90| 20 43 6f 75 72 69 65 72 | 29 2e 0d 57 6f 72 64 73 | Courier|)..Words|
|00004da0| 20 74 68 61 74 20 61 70 | 70 65 61 72 20 69 6e 20 | that ap|pear in |
|00004db0| 62 6f 6c 64 66 61 63 65 | 20 61 72 65 20 6b 65 79 |boldface| are key|
|00004dc0| 20 74 65 72 6d 73 20 6f | 72 20 63 6f 6e 63 65 70 | terms o|r concep|
|00004dd0| 74 73 20 61 6e 64 20 61 | 72 65 20 64 65 66 69 6e |ts and a|re defin|
|00004de0| 65 64 20 69 6e 20 74 68 | 65 20 67 6c 6f 73 73 61 |ed in th|e glossa|
|00004df0| 72 79 20 61 74 20 74 68 | 65 20 65 6e 64 20 6f 66 |ry at th|e end of|
|00004e00| 20 74 68 69 73 20 62 6f | 6f 6b 2e 20 4e 6f 74 65 | this bo|ok. Note|
|00004e10| 20 74 68 61 74 20 6e 75 | 6d 65 72 69 63 61 6c 20 | that nu|merical |
|00004e20| 65 6e 74 72 69 65 73 20 | 28 66 6f 72 20 65 78 61 |entries |(for exa|
|00004e30| 6d 70 6c 65 2c 20 33 32 | 2d 62 69 74 20 63 6c 65 |mple, 32|-bit cle|
|00004e40| 61 6e 29 20 61 72 65 20 | 73 6f 72 74 65 64 20 62 |an) are |sorted b|
|00004e50| 65 66 6f 72 65 20 61 6c | 6c 20 61 6c 70 68 61 62 |efore al|l alphab|
|00004e60| 65 74 69 63 61 6c 20 65 | 6e 74 72 69 65 73 20 69 |etical e|ntries i|
|00004e70| 6e 20 74 68 65 20 67 6c | 6f 73 73 61 72 79 20 61 |n the gl|ossary a|
|00004e80| 6e 64 20 69 6e 20 74 68 | 65 20 69 6e 64 65 78 2e |nd in th|e index.|
|00004e90| 0d 54 79 70 65 73 20 6f | 66 20 4e 6f 74 65 73 0d |.Types o|f Notes.|
|00004ea0| 0d 54 68 65 72 65 20 61 | 72 65 20 73 65 76 65 72 |.There a|re sever|
|00004eb0| 61 6c 20 74 79 70 65 73 | 20 6f 66 20 6e 6f 74 65 |al types| of note|
|00004ec0| 73 20 75 73 65 64 20 69 | 6e 20 49 6e 73 69 64 65 |s used i|n Inside|
|00004ed0| 20 4d 61 63 69 6e 74 6f | 73 68 2e 0d 4e 6f 74 65 | Macinto|sh..Note|
|00004ee0| 0d 41 20 6e 6f 74 65 20 | 6c 69 6b 65 20 74 68 69 |.A note |like thi|
|00004ef0| 73 20 63 6f 6e 74 61 69 | 6e 73 20 69 6e 66 6f 72 |s contai|ns infor|
|00004f00| 6d 61 74 69 6f 6e 20 74 | 68 61 74 20 69 73 20 69 |mation t|hat is i|
|00004f10| 6e 74 65 72 65 73 74 69 | 6e 67 20 62 75 74 20 70 |nteresti|ng but p|
|00004f20| 6f 73 73 69 62 6c 79 20 | 6e 6f 74 20 65 73 73 65 |ossibly |not esse|
|00004f30| 6e 74 69 61 6c 20 74 6f | 20 61 6e 20 75 6e 64 65 |ntial to| an unde|
|00004f40| 72 73 74 61 6e 64 69 6e | 67 20 6f 66 20 74 68 65 |rstandin|g of the|
|00004f50| 20 6d 61 69 6e 20 74 65 | 78 74 2e 20 28 41 6e 20 | main te|xt. (An |
|00004f60| 65 78 61 6d 70 6c 65 20 | 61 70 70 65 61 72 73 20 |example |appears |
|00004f70| 6f 6e 20 70 61 67 65 20 | 31 2d 36 2e 29 13 75 0d |on page |1-6.).u.|
|00004f80| 49 4d 50 4f 52 54 41 4e | 54 0d 41 20 6e 6f 74 65 |IMPORTAN|T.A note|
|00004f90| 20 6c 69 6b 65 20 74 68 | 69 73 20 63 6f 6e 74 61 | like th|is conta|
|00004fa0| 69 6e 73 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |ins info|rmation |
|00004fb0| 74 68 61 74 20 69 73 20 | 65 73 73 65 6e 74 69 61 |that is |essentia|
|00004fc0| 6c 20 66 6f 72 20 61 6e | 20 75 6e 64 65 72 73 74 |l for an| underst|
|00004fd0| 61 6e 64 69 6e 67 20 6f | 66 20 74 68 65 20 6d 61 |anding o|f the ma|
|00004fe0| 69 6e 20 74 65 78 74 2e | 20 28 41 6e 20 65 78 61 |in text.| (An exa|
|00004ff0| 6d 70 6c 65 20 61 70 70 | 65 61 72 73 20 6f 6e 20 |mple app|ears on |
|00005000| 70 61 67 65 20 31 2d 31 | 39 2e 29 13 73 0d 73 57 |page 1-1|9.).s.sW|
|00005010| 41 52 4e 49 4e 47 0d 57 | 61 72 6e 69 6e 67 73 20 |ARNING.W|arnings |
|00005020| 6c 69 6b 65 20 74 68 69 | 73 20 69 6e 64 69 63 61 |like thi|s indica|
|00005030| 74 65 20 70 6f 74 65 6e | 74 69 61 6c 20 70 72 6f |te poten|tial pro|
|00005040| 62 6c 65 6d 73 20 74 68 | 61 74 20 79 6f 75 20 73 |blems th|at you s|
|00005050| 68 6f 75 6c 64 20 62 65 | 20 61 77 61 72 65 20 6f |hould be| aware o|
|00005060| 66 20 61 73 20 79 6f 75 | 20 64 65 73 69 67 6e 20 |f as you| design |
|00005070| 79 6f 75 72 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |your app|lication|
|00005080| 2e 20 46 61 69 6c 75 72 | 65 20 74 6f 20 68 65 65 |. Failur|e to hee|
|00005090| 64 20 74 68 65 73 65 20 | 77 61 72 6e 69 6e 67 73 |d these |warnings|
|000050a0| 20 0d 63 6f 75 6c 64 20 | 72 65 73 75 6c 74 20 69 | .could |result i|
|000050b0| 6e 20 73 79 73 74 65 6d | 20 63 72 61 73 68 65 73 |n system| crashes|
|000050c0| 20 6f 72 20 6c 6f 73 73 | 20 6f 66 20 64 61 74 61 | or loss| of data|
|000050d0| 2e 20 28 41 6e 20 65 78 | 61 6d 70 6c 65 20 61 70 |. (An ex|ample ap|
|000050e0| 70 65 61 72 73 20 6f 6e | 20 70 61 67 65 20 31 2d |pears on| page 1-|
|000050f0| 38 2e 29 13 73 0d 42 69 | 74 20 4e 75 6d 62 65 72 |8.).s.Bi|t Number|
|00005100| 69 6e 67 20 61 6e 64 20 | 57 6f 72 64 20 53 69 7a |ing and |Word Siz|
|00005110| 65 0d 0d 54 68 69 73 20 | 62 6f 6f 6b 20 64 65 70 |e..This |book dep|
|00005120| 61 72 74 73 20 66 72 6f | 6d 20 74 68 65 20 63 6f |arts fro|m the co|
|00005130| 6e 76 65 6e 74 69 6f 6e | 73 20 66 6f 6c 6c 6f 77 |nvention|s follow|
|00005140| 65 64 20 69 6e 20 70 72 | 65 76 69 6f 75 73 20 49 |ed in pr|evious I|
|00005150| 6e 73 69 64 65 20 4d 61 | 63 69 6e 74 6f 73 68 20 |nside Ma|cintosh |
|00005160| 62 6f 6f 6b 73 20 69 6e | 20 72 65 67 61 72 64 20 |books in| regard |
|00005170| 74 6f 20 74 68 65 20 6e | 75 6d 62 65 72 69 6e 67 |to the n|umbering|
|00005180| 20 6f 66 20 62 69 74 73 | 20 77 69 74 68 69 6e 20 | of bits| within |
|00005190| 61 20 72 61 6e 67 65 20 | 6f 66 20 64 61 74 61 2e |a range |of data.|
|000051a0| 20 50 72 65 76 69 6f 75 | 73 6c 79 2c 20 66 6f 72 | Previou|sly, for|
|000051b0| 20 65 78 61 6d 70 6c 65 | 2c 20 74 68 65 20 62 69 | example|, the bi|
|000051c0| 74 73 20 69 6e 20 61 20 | 33 32 2d 62 69 74 20 64 |ts in a |32-bit d|
|000051d0| 61 74 61 20 74 79 70 65 | 20 77 65 72 65 20 6e 75 |ata type| were nu|
|000051e0| 6d 62 65 72 65 64 20 30 | 20 74 6f 20 33 31 2c 20 |mbered 0| to 31, |
|000051f0| 66 72 6f 6d 20 72 69 67 | 68 74 20 74 6f 20 6c 65 |from rig|ht to le|
|00005200| 66 74 2c 20 61 73 20 73 | 68 6f 77 6e 20 69 6e 20 |ft, as s|hown in |
|00005210| 46 69 67 75 72 65 20 50 | 2d 31 20 6f 6e 20 74 68 |Figure P|-1 on th|
|00005220| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 70 61 67 65 |e follow|ing page|
|00005230| 2e 20 54 68 65 20 6c 65 | 61 73 74 20 73 69 67 6e |. The le|ast sign|
|00005240| 69 66 69 63 61 6e 74 20 | 62 69 74 20 6f 66 20 61 |ificant |bit of a|
|00005250| 20 33 32 2d 62 69 74 20 | 64 61 74 61 20 74 79 70 | 32-bit |data typ|
|00005260| 65 20 77 61 73 20 61 64 | 64 72 65 73 73 65 64 20 |e was ad|dressed |
|00005270| 61 73 20 62 69 74 20 30 | 2c 20 61 6e 64 20 74 68 |as bit 0|, and th|
|00005280| 65 20 6d 6f 73 74 20 73 | 69 67 6e 69 66 69 63 61 |e most s|ignifica|
|00005290| 6e 74 20 62 69 74 20 77 | 61 73 20 61 64 64 72 65 |nt bit w|as addre|
|000052a0| 73 73 65 64 20 61 73 20 | 62 69 74 20 33 31 2e 20 |ssed as |bit 31. |
|000052b0| 54 68 69 73 20 63 6f 6e | 76 65 6e 74 69 6f 6e 20 |This con|vention |
|000052c0| 77 61 73 20 69 6e 20 61 | 63 63 6f 72 64 61 6e 63 |was in a|ccordanc|
|000052d0| 65 20 77 69 74 68 20 74 | 68 61 74 20 75 73 65 64 |e with t|hat used|
|000052e0| 20 62 79 20 4d 6f 74 6f | 72 6f 6c 61 20 69 6e 20 | by Moto|rola in |
|000052f0| 74 68 65 20 62 6f 6f 6b | 73 20 64 6f 63 75 6d 65 |the book|s docume|
|00005300| 6e 74 69 6e 67 20 74 68 | 65 69 72 20 36 38 30 78 |nting th|eir 680x|
|00005310| 30 20 66 61 6d 69 6c 79 | 20 6f 66 20 6d 69 63 72 |0 family| of micr|
|00005320| 6f 70 72 6f 63 65 73 73 | 6f 72 73 20 28 66 6f 72 |oprocess|ors (for|
|00005330| 20 65 78 61 6d 70 6c 65 | 2c 20 74 68 65 20 4d 43 | example|, the MC|
|00005340| 36 38 30 34 30 20 33 32 | 2d 42 69 74 20 4d 69 63 |68040 32|-Bit Mic|
|00005350| 72 6f 70 72 6f 63 65 73 | 73 6f 72 20 55 73 65 72 |roproces|sor User|
|00005360| d5 73 20 4d 61 6e 75 61 | 6c 29 2e 0d 46 69 67 75 |.s Manua|l)..Figu|
|00005370| 72 65 20 50 2d 31 09 36 | 38 30 78 30 20 62 69 74 |re P-1.6|80x0 bit|
|00005380| 20 6e 75 6d 62 65 72 69 | 6e 67 0d 0d 49 6e 20 74 | numberi|ng..In t|
|00005390| 68 69 73 20 62 6f 6f 6b | 2c 20 74 68 65 20 62 69 |his book|, the bi|
|000053a0| 74 73 20 69 6e 20 61 20 | 33 32 2d 62 69 74 20 64 |ts in a |32-bit d|
|000053b0| 61 74 61 20 74 79 70 65 | 20 61 72 65 20 6e 75 6d |ata type| are num|
|000053c0| 62 65 72 65 64 20 30 20 | 74 6f 20 33 31 2c 20 66 |bered 0 |to 31, f|
|000053d0| 72 6f 6d 20 6c 65 66 74 | 20 74 6f 20 72 69 67 68 |rom left| to righ|
|000053e0| 74 2e 20 54 68 65 20 6d | 6f 73 74 20 73 69 67 6e |t. The m|ost sign|
|000053f0| 69 66 69 63 61 6e 74 20 | 62 69 74 20 6f 66 20 61 |ificant |bit of a|
|00005400| 20 33 32 2d 62 69 74 20 | 64 61 74 61 20 74 79 70 | 32-bit |data typ|
|00005410| 65 20 69 73 20 61 64 64 | 72 65 73 73 65 64 20 61 |e is add|ressed a|
|00005420| 73 20 62 69 74 20 30 2c | 20 61 6e 64 20 74 68 65 |s bit 0,| and the|
|00005430| 20 6c 65 61 73 74 20 73 | 69 67 6e 69 66 69 63 61 | least s|ignifica|
|00005440| 6e 74 20 62 69 74 20 69 | 73 20 61 64 64 72 65 73 |nt bit i|s addres|
|00005450| 73 65 64 20 61 73 20 62 | 69 74 20 33 31 2e 20 54 |sed as b|it 31. T|
|00005460| 68 69 73 20 63 6f 6e 76 | 65 6e 74 69 6f 6e 2c 20 |his conv|ention, |
|00005470| 69 6c 6c 75 73 74 72 61 | 74 65 64 20 69 6e 20 46 |illustra|ted in F|
|00005480| 69 67 75 72 65 20 50 2d | 32 2c 20 69 73 20 69 6e |igure P-|2, is in|
|00005490| 20 61 63 63 6f 72 64 61 | 6e 63 65 20 77 69 74 68 | accorda|nce with|
|000054a0| 20 74 68 65 20 62 69 74 | 2d 6e 75 6d 62 65 72 69 | the bit|-numberi|
|000054b0| 6e 67 20 63 6f 6e 76 65 | 6e 74 69 6f 6e 73 20 75 |ng conve|ntions u|
|000054c0| 73 65 64 20 62 79 20 4d | 6f 74 6f 72 6f 6c 61 20 |sed by M|otorola |
|000054d0| 69 6e 20 74 68 65 20 62 | 6f 6f 6b 73 20 64 6f 63 |in the b|ooks doc|
|000054e0| 75 6d 65 6e 74 69 6e 67 | 20 74 68 65 20 50 6f 77 |umenting| the Pow|
|000054f0| 65 72 50 43 20 66 61 6d | 69 6c 79 20 6f 66 20 6d |erPC fam|ily of m|
|00005500| 69 63 72 6f 70 72 6f 63 | 65 73 73 6f 72 73 20 28 |icroproc|essors (|
|00005510| 66 6f 72 20 65 78 61 6d | 70 6c 65 2c 20 74 68 65 |for exam|ple, the|
|00005520| 20 50 6f 77 65 72 50 43 | 20 36 30 31 20 52 49 53 | PowerPC| 601 RIS|
|00005530| 43 20 4d 69 63 72 6f 70 | 72 6f 63 65 73 73 6f 72 |C Microp|rocessor|
|00005540| 20 55 73 65 72 d5 73 20 | 4d 61 6e 75 61 6c 29 2e | User.s |Manual).|
|00005550| 0d 46 69 67 75 72 65 20 | 50 2d 32 09 50 6f 77 65 |.Figure |P-2.Powe|
|00005560| 72 50 43 20 62 69 74 20 | 6e 75 6d 62 65 72 69 6e |rPC bit |numberin|
|00005570| 67 0d 0d 49 6e 20 61 64 | 64 69 74 69 6f 6e 2c 20 |g..In ad|dition, |
|00005580| 74 68 65 72 65 20 61 72 | 65 20 64 69 66 66 65 72 |there ar|e differ|
|00005590| 65 6e 63 65 73 20 62 65 | 74 77 65 65 6e 20 36 38 |ences be|tween 68|
|000055a0| 30 78 30 20 61 6e 64 20 | 74 68 65 20 50 6f 77 65 |0x0 and |the Powe|
|000055b0| 72 50 43 20 74 65 72 6d | 69 6e 6f 6c 6f 67 79 20 |rPC term|inology |
|000055c0| 74 6f 20 64 65 73 63 72 | 69 62 65 20 74 68 65 20 |to descr|ibe the |
|000055d0| 73 69 7a 65 73 20 6f 66 | 20 63 65 72 74 61 69 6e |sizes of| certain|
|000055e0| 20 6d 65 6d 6f 72 79 20 | 6f 70 65 72 61 6e 64 73 | memory |operands|
|000055f0| 2c 20 61 73 20 73 68 6f | 77 6e 20 69 6e 20 54 61 |, as sho|wn in Ta|
|00005600| 62 6c 65 20 50 2d 31 2e | 20 0d 54 61 62 6c 65 20 |ble P-1.| .Table |
|00005610| 50 2d 31 09 53 69 7a 65 | 73 20 6f 66 20 6d 65 6d |P-1.Size|s of mem|
|00005620| 6f 72 79 20 6f 70 65 72 | 61 6e 64 73 0d 53 69 7a |ory oper|ands.Siz|
|00005630| 65 09 36 38 30 78 30 20 | 74 65 72 6d 69 6e 6f 6c |e.680x0 |terminol|
|00005640| 6f 67 79 09 50 6f 77 65 | 72 50 43 20 74 65 72 6d |ogy.Powe|rPC term|
|00005650| 69 6e 6f 6c 6f 67 79 09 | 0d 38 20 62 69 74 73 09 |inology.|.8 bits.|
|00005660| 42 79 74 65 09 42 79 74 | 65 09 0d 32 20 62 79 74 |Byte.Byt|e..2 byt|
|00005670| 65 73 09 57 6f 72 64 09 | 48 61 6c 66 20 77 6f 72 |es.Word.|Half wor|
|00005680| 64 09 0d 34 20 62 79 74 | 65 73 09 4c 6f 6e 67 20 |d..4 byt|es.Long |
|00005690| 77 6f 72 64 09 57 6f 72 | 64 09 0d 38 20 62 79 74 |word.Wor|d..8 byt|
|000056a0| 65 73 09 4e 2f 41 09 44 | 6f 75 62 6c 65 20 77 6f |es.N/A.D|ouble wo|
|000056b0| 72 64 09 0d 31 36 20 62 | 79 74 65 73 09 4e 2f 41 |rd..16 b|ytes.N/A|
|000056c0| 09 51 75 61 64 20 77 6f | 72 64 09 0d 0d 54 6f 20 |.Quad wo|rd...To |
|000056d0| 61 76 6f 69 64 20 63 6f | 6e 66 75 73 69 6f 6e 2c |avoid co|nfusion,|
|000056e0| 20 68 6f 77 65 76 65 72 | 2c 20 74 68 69 73 20 62 | however|, this b|
|000056f0| 6f 6f 6b 20 67 65 6e 65 | 72 61 6c 6c 79 20 75 73 |ook gene|rally us|
|00005700| 65 73 20 62 79 74 65 73 | 20 74 6f 20 67 69 76 65 |es bytes| to give|
|00005710| 20 74 68 65 20 73 69 7a | 65 73 20 6f 66 20 6f 62 | the siz|es of ob|
|00005720| 6a 65 63 74 73 20 69 6e | 20 6d 65 6d 6f 72 79 2e |jects in| memory.|
|00005730| 0d 41 73 73 65 6d 62 6c | 79 2d 4c 61 6e 67 75 61 |.Assembl|y-Langua|
|00005740| 67 65 20 49 6e 66 6f 72 | 6d 61 74 69 6f 6e 0d 0d |ge Infor|mation..|
|00005750| 49 6e 73 69 64 65 20 4d | 61 63 69 6e 74 6f 73 68 |Inside M|acintosh|
|00005760| 20 70 72 65 73 65 6e 74 | 73 20 69 6e 66 6f 72 6d | present|s inform|
|00005770| 61 74 69 6f 6e 20 61 62 | 6f 75 74 20 74 68 65 20 |ation ab|out the |
|00005780| 66 69 65 6c 64 73 20 6f | 66 20 61 20 70 61 72 61 |fields o|f a para|
|00005790| 6d 65 74 65 72 20 62 6c | 6f 63 6b 20 69 6e 20 74 |meter bl|ock in t|
|000057a0| 68 69 73 20 66 6f 72 6d | 61 74 3a 0d 50 61 72 61 |his form|at:.Para|
|000057b0| 6d 65 74 65 72 20 62 6c | 6f 63 6b ab 09 69 6e 41 |meter bl|ock..inA|
|000057c0| 6e 64 4f 75 74 09 48 61 | 6e 64 6c 65 09 49 6e 70 |ndOut.Ha|ndle.Inp|
|000057d0| 75 74 2f 6f 75 74 70 75 | 74 20 70 61 72 61 6d 65 |ut/outpu|t parame|
|000057e0| 74 65 72 2e 09 0d ac 09 | 6f 75 74 70 75 74 31 09 |ter.....|output1.|
|000057f0| 50 74 72 09 4f 75 74 70 | 75 74 20 70 61 72 61 6d |Ptr.Outp|ut param|
|00005800| 65 74 65 72 2e 09 0d ae | 09 69 6e 70 75 74 31 09 |eter....|.input1.|
|00005810| 50 74 72 09 49 6e 70 75 | 74 20 70 61 72 61 6d 65 |Ptr.Inpu|t parame|
|00005820| 74 65 72 2e 09 0d 0d 54 | 68 65 20 61 72 72 6f 77 |ter....T|he arrow|
|00005830| 20 69 6e 20 74 68 65 20 | 66 61 72 2d 6c 65 66 74 | in the |far-left|
|00005840| 20 63 6f 6c 75 6d 6e 20 | 69 6e 64 69 63 61 74 65 | column |indicate|
|00005850| 73 20 77 68 65 74 68 65 | 72 20 74 68 65 20 66 69 |s whethe|r the fi|
|00005860| 65 6c 64 20 69 73 20 61 | 6e 20 69 6e 70 75 74 20 |eld is a|n input |
|00005870| 70 61 72 61 6d 65 74 65 | 72 2c 20 6f 75 74 70 75 |paramete|r, outpu|
|00005880| 74 20 70 61 72 61 6d 65 | 74 65 72 2c 20 6f 72 20 |t parame|ter, or |
|00005890| 62 6f 74 68 2e 20 59 6f | 75 20 6d 75 73 74 20 73 |both. Yo|u must s|
|000058a0| 75 70 70 6c 79 20 76 61 | 6c 75 65 73 20 66 6f 72 |upply va|lues for|
|000058b0| 20 61 6c 6c 20 69 6e 70 | 75 74 20 70 61 72 61 6d | all inp|ut param|
|000058c0| 65 74 65 72 73 20 61 6e | 64 20 69 6e 70 75 74 2f |eters an|d input/|
|000058d0| 6f 75 74 70 75 74 20 70 | 61 72 61 6d 65 74 65 72 |output p|arameter|
|000058e0| 73 2e 20 54 68 65 20 72 | 6f 75 74 69 6e 65 20 72 |s. The r|outine r|
|000058f0| 65 74 75 72 6e 73 20 76 | 61 6c 75 65 73 20 69 6e |eturns v|alues in|
|00005900| 20 6f 75 74 70 75 74 20 | 70 61 72 61 6d 65 74 65 | output |paramete|
|00005910| 72 73 20 61 6e 64 20 69 | 6e 70 75 74 2f 6f 75 74 |rs and i|nput/out|
|00005920| 70 75 74 20 70 61 72 61 | 6d 65 74 65 72 73 2e 0d |put para|meters..|
|00005930| 54 68 65 20 73 65 63 6f | 6e 64 20 63 6f 6c 75 6d |The seco|nd colum|
|00005940| 6e 20 73 68 6f 77 73 20 | 74 68 65 20 66 69 65 6c |n shows |the fiel|
|00005950| 64 20 6e 61 6d 65 20 61 | 73 20 64 65 66 69 6e 65 |d name a|s define|
|00005960| 64 20 69 6e 20 74 68 65 | 20 4d 50 57 20 43 20 69 |d in the| MPW C i|
|00005970| 6e 74 65 72 66 61 63 65 | 20 66 69 6c 65 73 3b 20 |nterface| files; |
|00005980| 74 68 65 20 74 68 69 72 | 64 20 63 6f 6c 75 6d 6e |the thir|d column|
|00005990| 20 69 6e 64 69 63 61 74 | 65 73 20 74 68 65 20 43 | indicat|es the C|
|000059a0| 20 64 61 74 61 20 74 79 | 70 65 20 6f 66 20 74 68 | data ty|pe of th|
|000059b0| 61 74 20 66 69 65 6c 64 | 2e 20 54 68 65 20 66 6f |at field|. The fo|
|000059c0| 75 72 74 68 20 63 6f 6c | 75 6d 6e 20 70 72 6f 76 |urth col|umn prov|
|000059d0| 69 64 65 73 20 61 20 62 | 72 69 65 66 20 64 65 73 |ides a b|rief des|
|000059e0| 63 72 69 70 74 69 6f 6e | 20 6f 66 20 74 68 65 20 |cription| of the |
|000059f0| 75 73 65 20 6f 66 20 74 | 68 65 20 66 69 65 6c 64 |use of t|he field|
|00005a00| 2e 20 46 6f 72 20 61 20 | 63 6f 6d 70 6c 65 74 65 |. For a |complete|
|00005a10| 20 64 65 73 63 72 69 70 | 74 69 6f 6e 20 6f 66 20 | descrip|tion of |
|00005a20| 65 61 63 68 20 66 69 65 | 6c 64 2c 20 73 65 65 20 |each fie|ld, see |
|00005a30| 74 68 65 20 64 69 73 63 | 75 73 73 69 6f 6e 20 74 |the disc|ussion t|
|00005a40| 68 61 74 20 66 6f 6c 6c | 6f 77 73 20 74 68 65 20 |hat foll|ows the |
|00005a50| 70 61 72 61 6d 65 74 65 | 72 20 0d 62 6c 6f 63 6b |paramete|r .block|
|00005a60| 20 6f 72 20 74 68 65 20 | 64 65 73 63 72 69 70 74 | or the |descript|
|00005a70| 69 6f 6e 20 6f 66 20 74 | 68 65 20 70 61 72 61 6d |ion of t|he param|
|00005a80| 65 74 65 72 20 62 6c 6f | 63 6b 20 69 6e 20 74 68 |eter blo|ck in th|
|00005a90| 65 20 72 65 66 65 72 65 | 6e 63 65 20 73 65 63 74 |e refere|nce sect|
|00005aa0| 69 6f 6e 20 6f 66 20 0d | 74 68 65 20 63 68 61 70 |ion of .|the chap|
|00005ab0| 74 65 72 2e 0d 0d 44 65 | 76 65 6c 6f 70 6d 65 6e |ter...De|velopmen|
|00005ac0| 74 20 45 6e 76 69 72 6f | 6e 6d 65 6e 74 0d 0d 54 |t Enviro|nment..T|
|00005ad0| 68 65 20 73 79 73 74 65 | 6d 20 73 6f 66 74 77 61 |he syste|m softwa|
|00005ae0| 72 65 20 72 6f 75 74 69 | 6e 65 73 20 64 65 73 63 |re routi|nes desc|
|00005af0| 72 69 62 65 64 20 69 6e | 20 74 68 69 73 20 62 6f |ribed in| this bo|
|00005b00| 6f 6b 20 61 72 65 20 61 | 76 61 69 6c 61 62 6c 65 |ok are a|vailable|
|00005b10| 20 75 73 69 6e 67 20 43 | 20 0d 6f 72 20 61 73 73 | using C| .or ass|
|00005b20| 65 6d 62 6c 79 2d 6c 61 | 6e 67 75 61 67 65 20 69 |embly-la|nguage i|
|00005b30| 6e 74 65 72 66 61 63 65 | 73 2e 20 48 6f 77 20 79 |nterface|s. How y|
|00005b40| 6f 75 20 61 63 63 65 73 | 73 20 74 68 65 73 65 20 |ou acces|s these |
|00005b50| 72 6f 75 74 69 6e 65 73 | 20 64 65 70 65 6e 64 73 |routines| depends|
|00005b60| 20 0d 6f 6e 20 74 68 65 | 20 64 65 76 65 6c 6f 70 | .on the| develop|
|00005b70| 6d 65 6e 74 20 65 6e 76 | 69 72 6f 6e 6d 65 6e 74 |ment env|ironment|
|00005b80| 20 79 6f 75 20 61 72 65 | 20 75 73 69 6e 67 2e 20 | you are| using. |
|00005b90| 54 68 69 73 20 62 6f 6f | 6b 20 73 68 6f 77 73 20 |This boo|k shows |
|00005ba0| 73 79 73 74 65 6d 20 73 | 6f 66 74 77 61 72 65 20 |system s|oftware |
|00005bb0| 72 6f 75 74 69 6e 65 73 | 20 69 6e 20 74 68 65 69 |routines| in thei|
|00005bc0| 72 20 43 20 69 6e 74 65 | 72 66 61 63 65 20 75 73 |r C inte|rface us|
|00005bd0| 69 6e 67 20 74 68 65 20 | 4d 61 63 69 6e 74 6f 73 |ing the |Macintos|
|00005be0| 68 20 50 72 6f 67 72 61 | 6d 6d 65 72 d5 73 20 57 |h Progra|mmer.s W|
|00005bf0| 6f 72 6b 73 68 6f 70 20 | 28 4d 50 57 29 2e 0d 41 |orkshop |(MPW)..A|
|00005c00| 6c 6c 20 63 6f 64 65 20 | 6c 69 73 74 69 6e 67 73 |ll code |listings|
|00005c10| 20 69 6e 20 74 68 69 73 | 20 62 6f 6f 6b 20 61 72 | in this| book ar|
|00005c20| 65 20 73 68 6f 77 6e 20 | 69 6e 20 43 20 28 65 78 |e shown |in C (ex|
|00005c30| 63 65 70 74 20 66 6f 72 | 20 6c 69 73 74 69 6e 67 |cept for| listing|
|00005c40| 73 20 74 68 61 74 20 64 | 65 73 63 72 69 62 65 20 |s that d|escribe |
|00005c50| 72 65 73 6f 75 72 63 65 | 73 2c 20 77 68 69 63 68 |resource|s, which|
|00005c60| 20 61 72 65 20 73 68 6f | 77 6e 20 69 6e 20 52 65 | are sho|wn in Re|
|00005c70| 7a 2d 69 6e 70 75 74 20 | 66 6f 72 6d 61 74 29 2e |z-input |format).|
|00005c80| 20 54 68 65 79 20 73 68 | 6f 77 20 6d 65 74 68 6f | They sh|ow metho|
|00005c90| 64 73 20 6f 66 20 75 73 | 69 6e 67 20 76 61 72 69 |ds of us|ing vari|
|00005ca0| 6f 75 73 20 72 6f 75 74 | 69 6e 65 73 20 61 6e 64 |ous rout|ines and|
|00005cb0| 20 69 6c 6c 75 73 74 72 | 61 74 65 20 74 65 63 68 | illustr|ate tech|
|00005cc0| 6e 69 71 75 65 73 20 66 | 6f 72 20 61 63 63 6f 6d |niques f|or accom|
|00005cd0| 70 6c 69 73 68 69 6e 67 | 20 70 61 72 74 69 63 75 |plishing| particu|
|00005ce0| 6c 61 72 20 74 61 73 6b | 73 2e 20 41 6c 6c 20 63 |lar task|s. All c|
|00005cf0| 6f 64 65 20 6c 69 73 74 | 69 6e 67 73 20 68 61 76 |ode list|ings hav|
|00005d00| 65 20 62 65 65 6e 20 63 | 6f 6d 70 69 6c 65 64 20 |e been c|ompiled |
|00005d10| 61 6e 64 2c 20 69 6e 20 | 6d 6f 73 74 20 63 61 73 |and, in |most cas|
|00005d20| 65 73 2c 20 74 65 73 74 | 65 64 2e 20 48 6f 77 65 |es, test|ed. Howe|
|00005d30| 76 65 72 2c 20 41 70 70 | 6c 65 20 43 6f 6d 70 75 |ver, App|le Compu|
|00005d40| 74 65 72 20 64 6f 65 73 | 20 6e 6f 74 20 69 6e 74 |ter does| not int|
|00005d50| 65 6e 64 20 74 68 61 74 | 20 79 6f 75 20 75 73 65 |end that| you use|
|00005d60| 20 74 68 65 73 65 20 63 | 6f 64 65 20 73 61 6d 70 | these c|ode samp|
|00005d70| 6c 65 73 20 69 6e 20 79 | 6f 75 72 20 61 70 70 6c |les in y|our appl|
|00005d80| 69 63 61 74 69 6f 6e 2e | 20 59 6f 75 20 63 61 6e |ication.| You can|
|00005d90| 20 66 69 6e 64 20 74 68 | 65 20 6c 6f 63 61 74 69 | find th|e locati|
|00005da0| 6f 6e 20 6f 66 20 74 68 | 69 73 20 62 6f 6f 6b d5 |on of th|is book.|
|00005db0| 73 20 63 6f 64 65 20 6c | 69 73 74 69 6e 67 73 20 |s code l|istings |
|00005dc0| 69 6e 20 74 68 65 20 6c | 69 73 74 20 6f 66 20 66 |in the l|ist of f|
|00005dd0| 69 67 75 72 65 73 2c 20 | 74 61 62 6c 65 73 2c 20 |igures, |tables, |
|00005de0| 61 6e 64 20 6c 69 73 74 | 69 6e 67 73 2e 0d 54 6f |and list|ings..To|
|00005df0| 20 6d 61 6b 65 20 74 68 | 65 20 63 6f 64 65 20 6c | make th|e code l|
|00005e00| 69 73 74 69 6e 67 73 20 | 69 6e 20 74 68 69 73 20 |istings |in this |
|00005e10| 62 6f 6f 6b 20 6d 6f 72 | 65 20 72 65 61 64 61 62 |book mor|e readab|
|00005e20| 6c 65 2c 20 6f 6e 6c 79 | 20 6c 69 6d 69 74 65 64 |le, only| limited|
|00005e30| 20 65 72 72 6f 72 20 68 | 61 6e 64 6c 69 6e 67 20 | error h|andling |
|00005e40| 69 73 20 73 68 6f 77 6e | 2e 20 59 6f 75 20 6e 65 |is shown|. You ne|
|00005e50| 65 64 20 74 6f 20 64 65 | 76 65 6c 6f 70 20 79 6f |ed to de|velop yo|
|00005e60| 75 72 20 6f 77 6e 20 74 | 65 63 68 6e 69 71 75 65 |ur own t|echnique|
|00005e70| 73 20 66 6f 72 20 64 65 | 74 65 63 74 69 6e 67 20 |s for de|tecting |
|00005e80| 61 6e 64 20 68 61 6e 64 | 6c 69 6e 67 20 65 72 72 |and hand|ling err|
|00005e90| 6f 72 73 2e 0d 54 68 69 | 73 20 62 6f 6f 6b 20 6f |ors..Thi|s book o|
|00005ea0| 63 63 61 73 69 6f 6e 61 | 6c 6c 79 20 69 6c 6c 75 |ccasiona|lly illu|
|00005eb0| 73 74 72 61 74 65 73 20 | 63 6f 6e 63 65 70 74 73 |strates |concepts|
|00005ec0| 20 62 79 20 72 65 66 65 | 72 65 6e 63 65 20 74 6f | by refe|rence to|
|00005ed0| 20 61 20 73 61 6d 70 6c | 65 20 61 70 70 6c 69 63 | a sampl|e applic|
|00005ee0| 61 2d 0d 74 69 6f 6e 20 | 63 61 6c 6c 65 64 20 53 |a-.tion |called S|
|00005ef0| 75 72 66 57 72 69 74 65 | 72 20 61 6e 64 20 61 20 |urfWrite|r and a |
|00005f00| 73 61 6d 70 6c 65 20 69 | 6d 70 6f 72 74 20 6c 69 |sample i|mport li|
|00005f10| 62 72 61 72 79 20 63 61 | 6c 6c 65 64 20 53 75 72 |brary ca|lled Sur|
|00005f20| 66 54 6f 6f 6c 73 3b 20 | 74 68 65 73 65 20 61 72 |fTools; |these ar|
|00005f30| 65 20 6e 6f 74 20 61 63 | 74 75 61 6c 20 70 72 6f |e not ac|tual pro|
|00005f40| 64 75 63 74 73 20 6f 66 | 20 41 70 70 6c 65 20 43 |ducts of| Apple C|
|00005f50| 6f 6d 70 75 74 65 72 2c | 20 49 6e 63 2e 0d 0d 0d |omputer,| Inc....|
|00005f60| 46 6f 72 20 4d 6f 72 65 | 20 49 6e 66 6f 72 6d 61 |For More| Informa|
|00005f70| 74 69 6f 6e 0d 0d 41 50 | 44 41 20 69 73 20 41 70 |tion..AP|DA is Ap|
|00005f80| 70 6c 65 d5 73 20 77 6f | 72 6c 64 77 69 64 65 20 |ple.s wo|rldwide |
|00005f90| 73 6f 75 72 63 65 20 66 | 6f 72 20 6f 76 65 72 20 |source f|or over |
|00005fa0| 74 68 72 65 65 20 68 75 | 6e 64 72 65 64 20 64 65 |three hu|ndred de|
|00005fb0| 76 65 6c 6f 70 6d 65 6e | 74 20 74 6f 6f 6c 73 2c |velopmen|t tools,|
|00005fc0| 20 74 65 63 68 6e 69 63 | 61 6c 20 72 65 73 6f 75 | technic|al resou|
|00005fd0| 72 63 65 73 2c 20 74 72 | 61 69 6e 69 6e 67 20 70 |rces, tr|aining p|
|00005fe0| 72 6f 64 75 63 74 73 2c | 20 61 6e 64 20 69 6e 66 |roducts,| and inf|
|00005ff0| 6f 72 6d 61 74 69 6f 6e | 20 66 6f 72 20 61 6e 79 |ormation| for any|
|00006000| 6f 6e 65 20 69 6e 74 65 | 72 65 73 74 65 64 20 69 |one inte|rested i|
|00006010| 6e 20 64 65 76 65 6c 6f | 70 69 6e 67 20 61 70 70 |n develo|ping app|
|00006020| 6c 69 63 61 74 69 6f 6e | 73 20 6f 6e 20 41 70 70 |lication|s on App|
|00006030| 6c 65 20 70 6c 61 74 66 | 6f 72 6d 73 2e 20 43 75 |le platf|orms. Cu|
|00006040| 73 74 6f 6d 65 72 73 20 | 72 65 63 65 69 76 65 20 |stomers |receive |
|00006050| 74 68 65 20 71 75 61 72 | 74 65 72 6c 79 20 41 50 |the quar|terly AP|
|00006060| 44 41 20 54 6f 6f 6c 73 | 20 43 61 74 61 6c 6f 67 |DA Tools| Catalog|
|00006070| 20 66 65 61 74 75 72 69 | 6e 67 20 61 6c 6c 20 63 | featuri|ng all c|
|00006080| 75 72 72 65 6e 74 20 76 | 65 72 73 69 6f 6e 73 20 |urrent v|ersions |
|00006090| 6f 66 20 41 70 70 6c 65 | 20 64 65 76 65 6c 6f 70 |of Apple| develop|
|000060a0| 6d 65 6e 74 20 74 6f 6f | 6c 73 20 61 6e 64 20 74 |ment too|ls and t|
|000060b0| 68 65 20 6d 6f 73 74 20 | 70 6f 70 75 6c 61 72 20 |he most |popular |
|000060c0| 74 68 69 72 64 2d 70 61 | 72 74 79 20 64 65 76 65 |third-pa|rty deve|
|000060d0| 6c 6f 70 6d 65 6e 74 20 | 74 6f 6f 6c 73 2e 20 4f |lopment |tools. O|
|000060e0| 72 64 65 72 69 6e 67 20 | 69 73 20 65 61 73 79 3b |rdering |is easy;|
|000060f0| 20 74 68 65 72 65 20 61 | 72 65 20 6e 6f 20 6d 65 | there a|re no me|
|00006100| 6d 62 65 72 73 68 69 70 | 20 66 65 65 73 2c 20 61 |mbership| fees, a|
|00006110| 6e 64 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 66 |nd appli|cation f|
|00006120| 6f 72 6d 73 20 61 72 65 | 20 6e 6f 74 20 72 65 71 |orms are| not req|
|00006130| 75 69 72 65 64 20 66 6f | 72 20 6d 6f 73 74 20 6f |uired fo|r most o|
|00006140| 66 20 6f 75 72 20 70 72 | 6f 64 75 63 74 73 2e 20 |f our pr|oducts. |
|00006150| 41 50 44 41 20 6f 66 66 | 65 72 73 20 63 6f 6e 76 |APDA off|ers conv|
|00006160| 65 6e 69 65 6e 74 20 70 | 61 79 6d 65 6e 74 20 61 |enient p|ayment a|
|00006170| 6e 64 20 73 68 69 70 70 | 69 6e 67 20 6f 70 74 69 |nd shipp|ing opti|
|00006180| 6f 6e 73 2c 20 69 6e 63 | 6c 75 64 69 6e 67 20 73 |ons, inc|luding s|
|00006190| 69 74 65 20 6c 69 63 65 | 6e 73 69 6e 67 2e 0d 54 |ite lice|nsing..T|
|000061a0| 6f 20 6f 72 64 65 72 20 | 70 72 6f 64 75 63 74 73 |o order |products|
|000061b0| 20 6f 72 20 74 6f 20 72 | 65 71 75 65 73 74 20 61 | or to r|equest a|
|000061c0| 20 63 6f 6d 70 6c 69 6d | 65 6e 74 61 72 79 20 63 | complim|entary c|
|000061d0| 6f 70 79 20 6f 66 20 74 | 68 65 20 41 50 44 41 20 |opy of t|he APDA |
|000061e0| 54 6f 6f 6c 73 20 43 61 | 74 61 6c 6f 67 2c 20 63 |Tools Ca|talog, c|
|000061f0| 6f 6e 74 61 63 74 20 0d | 41 50 44 41 20 0d 41 70 |ontact .|APDA .Ap|
|00006200| 70 6c 65 20 43 6f 6d 70 | 75 74 65 72 2c 20 49 6e |ple Comp|uter, In|
|00006210| 63 2e 20 0d 50 2e 4f 2e | 20 42 6f 78 20 33 31 39 |c. .P.O.| Box 319|
|00006220| 0d 42 75 66 66 61 6c 6f | 2c 20 4e 59 20 31 34 32 |.Buffalo|, NY 142|
|00006230| 30 37 2d 30 33 31 39 54 | 65 6c 65 70 68 6f 6e 65 |07-0319T|elephone|
|00006240| 09 38 30 30 2d 32 38 32 | 2d 32 37 33 32 20 28 55 |.800-282|-2732 (U|
|00006250| 6e 69 74 65 64 20 53 74 | 61 74 65 73 29 0d 38 30 |nited St|ates).80|
|00006260| 30 2d 36 33 37 2d 30 30 | 32 39 20 28 43 61 6e 61 |0-637-00|29 (Cana|
|00006270| 64 61 29 0d 37 31 36 2d | 38 37 31 2d 36 35 35 35 |da).716-|871-6555|
|00006280| 20 28 49 6e 74 65 72 6e | 61 74 69 6f 6e 61 6c 29 | (Intern|ational)|
|00006290| 09 0d 46 61 78 09 37 31 | 36 2d 38 37 31 2d 36 35 |..Fax.71|6-871-65|
|000062a0| 31 31 20 09 0d 41 70 70 | 6c 65 4c 69 6e 6b 09 41 |11 ..App|leLink.A|
|000062b0| 50 44 41 09 0d 41 6d 65 | 72 69 63 61 20 4f 6e 6c |PDA..Ame|rica Onl|
|000062c0| 69 6e 65 09 41 50 44 41 | 09 0d 43 6f 6d 70 75 53 |ine.APDA|..CompuS|
|000062d0| 65 72 76 65 09 37 36 36 | 36 36 2c 32 34 30 35 09 |erve.766|66,2405.|
|000062e0| 0d 49 6e 74 65 72 6e 65 | 74 09 41 50 44 41 40 61 |.Interne|t.APDA@a|
|000062f0| 70 70 6c 65 6c 69 6e 6b | 2e 61 70 70 6c 65 2e 63 |pplelink|.apple.c|
|00006300| 6f 6d 09 0d 0d 49 66 20 | 79 6f 75 20 70 72 6f 76 |om...If |you prov|
|00006310| 69 64 65 20 63 6f 6d 6d | 65 72 63 69 61 6c 20 70 |ide comm|ercial p|
|00006320| 72 6f 64 75 63 74 73 20 | 61 6e 64 20 73 65 72 76 |roducts |and serv|
|00006330| 69 63 65 73 2c 20 63 61 | 6c 6c 20 34 30 38 2d 39 |ices, ca|ll 408-9|
|00006340| 37 34 2d 34 38 39 37 20 | 66 6f 72 20 69 6e 66 6f |74-4897 |for info|
|00006350| 72 6d 61 74 69 6f 6e 20 | 6f 6e 20 74 68 65 20 64 |rmation |on the d|
|00006360| 65 76 65 6c 6f 70 65 72 | 20 73 75 70 70 6f 72 74 |eveloper| support|
|00006370| 20 70 72 6f 67 72 61 6d | 73 20 61 76 61 69 6c 61 | program|s availa|
|00006380| 62 6c 65 20 66 72 6f 6d | 20 41 70 70 6c 65 2e 0d |ble from| Apple..|
|00006390| 46 6f 72 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |For info|rmation |
|000063a0| 6f 6e 20 72 65 67 69 73 | 74 65 72 69 6e 67 20 73 |on regis|tering s|
|000063b0| 69 67 6e 61 74 75 72 65 | 73 2c 20 66 69 6c 65 20 |ignature|s, file |
|000063c0| 74 79 70 65 73 2c 20 41 | 70 70 6c 65 20 65 76 65 |types, A|pple eve|
|000063d0| 6e 74 73 2c 20 61 6e 64 | 20 6f 74 68 65 72 20 74 |nts, and| other t|
|000063e0| 65 63 68 6e 69 63 61 6c | 20 69 6e 66 6f 72 6d 61 |echnical| informa|
|000063f0| 74 69 6f 6e 2c 20 63 6f | 6e 74 61 63 74 0d 4d 61 |tion, co|ntact.Ma|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.